mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-26 00:37:36 +02:00
Added support of non standard JSON input (issue #44)
This commit is contained in:
12
src/Internals/Encoding.cpp
Normal file
12
src/Internals/Encoding.cpp
Normal file
@ -0,0 +1,12 @@
|
||||
// Copyright Benoit Blanchon 2014-2015
|
||||
// MIT License
|
||||
//
|
||||
// Arduino JSON library
|
||||
// https://github.com/bblanchon/ArduinoJson
|
||||
|
||||
#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
|
||||
const char ArduinoJson::Internals::Encoding::_escapeTable[] = "\"\"\\\\b\bf\fn\nr\rt\t";
|
Reference in New Issue
Block a user