Commit Graph
66 Commits
Author SHA1 Message Date
Benoit Blanchon a6724bd03f Added RawJson() to insert pregenerated JSON portions (issue #259) 2016-04-16 16:15:01 +02:00
Benoit Blanchon b6d8e6c989 Updated copyright year from 2015 to 2016 2016-01-07 22:39:57 +01:00
Benoit Blanchon 0cf8249b14 Fixed Clang warning "register specifier is deprecated" (issue #102) 2015-08-26 20:49:24 +02:00
Benoit Blanchon ef2641b49b Store parsed token as string and allow conversion between various types (issues #64, #69, #90, #93) 2015-08-10 17:22:22 +02:00
Benoit Blanchon e31d667bec Added support of comments in JSON input (issue #88) 2015-07-27 22:18:54 +02:00
Benoit Blanchon 92e687303d Added support of non standard JSON input (issue #44) 2015-07-10 22:11:26 +02:00
Benoit Blanchon 0aded2a798 Reduced code size 2015-05-31 14:25:01 +02:00
Benoit Blanchon 1b5be892b9 Added support of String class (issue #55, #56, #70, #77) 2015-05-25 15:38:58 +02:00
Benoit Blanchon 756c279cdc Redesigned JsonVariant to leverage converting constructors instead of assignment operators 2015-05-23 15:32:50 +02:00
Benoit Blanchon 5e5f060fc0 Updated copyright for 2015 2015-02-07 16:05:48 +01:00
Benoit Blanchon 29ab5fc9c2 Reduced code size by 12 bytes 2015-02-07 16:01:09 +01:00
Benoit Blanchon 8db338ba14 Removed global new operator overload (issue #40, #45 and #46) 2015-02-01 20:59:31 +01:00
Benoit Blanchon 8082185ac4 Fixed template instantiation warning (issue #35) 2014-12-09 20:46:45 +01:00
Benoit Blanchon 0911d8d796 Fixed cpplint warnings 2014-11-11 16:41:45 +01:00
Benoit Blanchon 3cfd36a5ce Reduced size by 16 bytes by inlining indent() and unindent() 2014-11-09 16:10:30 +01:00
Benoit Blanchon 05db56760f Reduced size by 38 bytes by inlining addNode() 2014-11-08 21:22:03 +01:00
Benoit Blanchon e94089ca56 Reduced size by 52 bytes by inlining createNode() 2014-11-08 21:16:47 +01:00
Benoit Blanchon f6133f2d36 Reduced size by 300 bytes by reusing the JsonPrettyPrint from v3 2014-11-08 19:40:07 +01:00
Benoit Blanchon 1c450fd3aa Fixed floating point value parsing in the form "4e2" or "4E2". 2014-11-08 15:56:40 +01:00
Benoit Blanchon 35a95f00d9 Inlined the content of JsonWriter.cpp 2014-11-07 13:23:11 +01:00
Benoit Blanchon 49025d322f Fixed warning in GCC 2014-11-07 11:52:18 +01:00
Benoit Blanchon dfd59f644b Added comments 2014-11-07 09:35:53 +01:00
Benoit Blanchon ee520d1ff5 Cleaned parseArray() 2014-11-07 09:30:00 +01:00
Benoit Blanchon 5179aa0d4f Cleaned parseObject() 2014-11-07 09:20:48 +01:00
Benoit Blanchon 086e99efb4 Added comment 2014-11-06 16:29:29 +01:00
Benoit Blanchon e7864c9566 Use Print& instead of Print* 2014-11-06 14:29:29 +01:00
Benoit Blanchon a3425a6306 Added a nesting limit to the parser to prevent stack overflow that could be a security issue 2014-11-06 10:24:37 +01:00
Benoit Blanchon f360cc664c Added empty line at end of file 2014-11-06 09:28:28 +01:00
Benoit Blanchon a9f4f611d4 Extracting a common base class for JsonArray and JsonObject... 2014-11-05 11:53:08 +01:00
Benoit Blanchon 0fb4fa8f86 Extracting a common base class for JsonArray and JsonObject... 2014-11-05 11:43:59 +01:00
Benoit Blanchon 7d73e63c78 Extracting a common base class for JsonArray and JsonObject... 2014-11-05 11:38:36 +01:00
Benoit Blanchon 782b178f4e Fixed warnings in Visual Studio 2014-11-04 19:53:13 +01:00
Benoit Blanchon e25eaed75a Cleaned #includes 2014-11-04 10:01:21 +01:00
Benoit Blanchon 09f6d059a7 Renamed JsonValue to JsonVariant 2014-11-04 09:51:25 +01:00
Benoit Blanchon 43ad37e7ce Now use relative paths in for #include 2014-11-03 18:35:22 +01:00
Benoit Blanchon 04cde11a04 Now use uint8_t to store decimal count 2014-11-03 18:28:24 +01:00
Benoit Blanchon 1ce6d663af Replaced 0 literals by more explicit '\0' and NULL 2014-11-03 17:03:55 +01:00
Benoit Blanchon 9da7dce310 Fixed double formatting issue 2014-11-01 13:30:37 +01:00
Benoit Blanchon fead9b50b1 Fixed bug in parser when "null", "true" or "false" is mispelled 2014-10-31 21:08:04 +01:00
Benoit Blanchon 74b4544560 Fixed parsing when opening brace/bracket is missing 2014-10-31 16:50:21 +01:00
Benoit Blanchon 2b5b8fb4c5 Removed empty files 2014-10-31 16:30:10 +01:00
Benoit Blanchon ba2b142c8a Huge refactoring in progress... 2014-10-29 14:24:34 +01:00
Benoit Blanchon 10ab95522d Epic refactoring in progress 2014-10-28 17:58:46 +01:00
Benoit Blanchon 61218f12fd Epic refactoring in progress... 2014-10-28 16:29:55 +01:00
Benoit Blanchon 852256c1af Epic refactoring int progress... 2014-10-27 22:50:50 +01:00
Benoit Blanchon 8988cb4761 Epic refactoring in progress... 2014-10-27 14:03:44 +01:00
Benoit Blanchon e0980292ef Epic refactoring in progress 2014-10-26 21:18:09 +01:00
Benoit Blanchon 8071434515 Fixed many cpplint warnings 2014-10-24 00:08:25 +02:00
Benoit Blanchon 55b0eab3e6 Added newline at ed of file 2014-10-23 23:45:36 +02:00
Benoit Blanchon e85f27c0f3 Added file headers with copyrights 2014-10-23 23:39:22 +02:00