Commit Graph
52 Commits
Author SHA1 Message Date
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
Benoit Blanchon b43da1e421 Switched to Google coding style to match cpplint expectations 2014-10-23 23:13:13 +02:00
Benoit Blanchon 9175046f35 Formated code with clang-format 2014-10-23 19:54:00 +02:00
Benoit Blanchon 7fbc3cb6a6 Fixed warnings in Visual Studio 2014-10-22 20:48:20 +02:00
Benoit Blanchon 1e0464f5b4 Fixed negative number parsing 2014-10-22 15:57:50 +02:00
Benoit Blanchon 5aefc7d652 Simplified the parser 2014-10-22 12:25:41 +02:00
Benoit Blanchon d70ff26164 Remove support of unquoted keys 2014-10-22 11:54:33 +02:00
Benoit Blanchon 316d036785 More test on object parsing 2014-10-22 10:55:36 +02:00
Benoit Blanchon 04330a7a47 Parse key value pairs 2014-10-21 23:40:04 +02:00
Benoit Blanchon cfbe50057a Test with a missing closing brace 2014-10-21 21:50:00 +02:00
Benoit Blanchon 9c1b6b80aa Parse empty object 2014-10-21 21:11:30 +02:00
Benoit Blanchon 0daf82eee2 Renamed all .h files into .hpp (so that Sublime Text selects C++ syntax) 2014-10-19 15:46:36 +02:00
Benoit Blanchon 074c39ca5b Fixed namespaces 2014-10-18 23:05:54 +02:00
Benoit Blanchon fc4faacfec Renamed EscapedString into QuotedString 2014-10-18 22:04:13 +02:00
Benoit Blanchon bbc2aa4f2a Allow string to be enclosed in single quotes 2014-10-18 21:54:32 +02:00