2016-01-07 22:35:12 +01:00
|
|
|
// Copyright Benoit Blanchon 2014-2016
|
2015-07-10 22:11:26 +02:00
|
|
|
// MIT License
|
|
|
|
//
|
|
|
|
// Arduino JSON library
|
|
|
|
// https://github.com/bblanchon/ArduinoJson
|
2016-01-07 22:35:12 +01:00
|
|
|
// If you like this project, please add a star!
|
2015-07-10 22:11:26 +02:00
|
|
|
|
|
|
|
#include "../../include/ArduinoJson/Internals/Encoding.hpp"
|
|
|
|
|
|
|
|
// How to escape special chars:
|
|
|
|
// _escapeTable[2*i+1] => the special char
|
|
|
|
// _escapeTable[2*i] => the char to use instead
|
2016-01-07 22:35:12 +01:00
|
|
|
const char ArduinoJson::Internals::Encoding::_escapeTable[] =
|
|
|
|
"\"\"\\\\b\bf\fn\nr\rt\t";
|