Commit Graph

  • e94575b4b8 Replaced public inheritance by protected and private Benoit Blanchon 2014-07-19 14:41:29 +02:00
  • b278d7711b Replaced composition by inheritance Benoit Blanchon 2014-07-19 12:44:27 +02:00
  • 851d21e08c Added JsonObjectIterator Benoit Blanchon 2014-07-18 22:40:50 +02:00
  • b75d32e980 Renamed JsonHashTable into JsonObject Benoit Blanchon 2014-07-18 16:46:01 +02:00
  • daa62b3737 Simplified nextSibling() Benoit Blanchon 2014-07-18 16:22:09 +02:00
  • ed497df9d6 Added JsonToken.cpp Benoit Blanchon 2014-07-18 16:19:14 +02:00
  • 79953730fc Merged nestedTokenCount() and nextSibling() Benoit Blanchon 2014-07-18 16:18:03 +02:00
  • 5d2ffc49fd Fixed JsonArrayIterator unit test Benoit Blanchon 2014-07-18 16:10:19 +02:00
  • 714a37bd59 Replaced JsonToken operators by meaningful methods Benoit Blanchon 2014-07-18 15:54:49 +02:00
  • 4a1d8483cc Added class JsonToken Benoit Blanchon 2014-07-18 15:43:20 +02:00
  • 0d4d77a7cd Updated example Benoît Blanchon 2014-07-17 14:02:51 +02:00
  • c329572d24 Added JsonArrayIterator (tests are failing) Benoît Blanchon 2014-07-17 13:58:30 +02:00
  • ca01ecfb49 Added a flag to ignore deprecation warnings Benoît Blanchon 2014-07-17 13:27:40 +02:00
  • 78249a0ada Updated example Benoît Blanchon 2014-07-17 13:23:18 +02:00
  • 45c9ba1191 Renamed JsonObjectBase into JsonPrintable Benoît Blanchon 2014-07-17 13:16:14 +02:00
  • 5e1697f47b JsonArray is now a simple wrapper on top of JsonValue Benoît Blanchon 2014-07-17 13:12:12 +02:00
  • f2579397d6 JsonHashTable is now a wrapper on to of JsonValue Benoît Blanchon 2014-07-17 12:59:26 +02:00
  • b6e3a37ad9 Added JsonParserBase::parse() that returns a JsonValue Benoît Blanchon 2014-07-17 12:37:35 +02:00
  • 73eda08dd4 Updated example Benoit Blanchon 2014-07-16 21:10:18 +02:00
  • 6164328892 Renamed JsonArray::getLength() into size() to match std::vector Benoît Blanchon 2014-07-16 14:01:04 +02:00
  • 7487b8cbb7 Defined the DEPRECATED macro Benoît Blanchon 2014-07-16 13:53:56 +02:00
  • 6a868e46bd Made JsonValue inherit from JsonObjectBase Benoît Blanchon 2014-07-16 13:41:00 +02:00
  • d189bd7140 Added class JsonValue. Added subscript operator on JsonArray and JsonHashTable Benoît Blanchon 2014-07-16 13:26:11 +02:00
  • 9f07cdcabf Updated CHANGELOG.md v2.1 Benoit Blanchon 2014-07-15 20:04:21 +02:00
  • 41b5bba939 Updated CHANGELOG.md Benoît Blanchon 2014-07-15 13:50:49 +02:00
  • 7ac4a91591 Added include of JsonParserBase.cpp Benoît Blanchon 2014-07-15 12:56:14 +02:00
  • 5534635feb Fixed case of jsmn.cpp (issue #6) Benoît Blanchon 2014-07-15 12:54:01 +02:00
  • 2e5b959e8b Fixed GCC warnings Benoit Blanchon 2014-07-14 16:13:58 +02:00
  • 9ee3dc638d Update parser size Benoit Blanchon 2014-07-14 16:02:34 +02:00
  • ccb97fc6e0 Fixed bug JsonObjectBase::getNestedTokenCount() that reads uninitialized token Benoit Blanchon 2014-07-14 15:52:26 +02:00
  • 39c185ae67 Fixed bug in JsonObjectBase::getBoolFromToken() Benoit Blanchon 2014-07-14 14:50:43 +02:00
  • cf1324c09b Added a test with too few tokens Benoit Blanchon 2014-07-14 14:42:30 +02:00
  • 0b087b7bdb Added a test when token count is too small Benoit Blanchon 2014-07-14 14:35:51 +02:00
  • dde5a2510b Extracted class JsonParserBase Benoit Blanchon 2014-07-14 13:17:30 +02:00
  • a42b03ec26 Rewrote tests on hash tables Benoit Blanchon 2014-07-14 12:29:57 +02:00
  • 2f98e59fc6 Cleaned the array tests Benoit Blanchon 2014-07-14 11:48:46 +02:00
  • f58a8b0ca5 Renamed unit test classes Benoit Blanchon 2014-07-14 10:33:24 +02:00
  • 4f56afe89e Updated changelog v2.0 Benoit Blanchon 2014-07-09 19:50:44 +02:00
  • 339de21f1c Updated code size Benoit Blanchon 2014-07-09 19:48:55 +02:00
  • 25c428c1e9 Removed useless cast Benoît Blanchon 2014-07-09 13:44:11 +02:00
  • 0045bb3e35 Reduced the size of JsonArrayBase::printTo() by 18 bytes Benoît Blanchon 2014-07-09 13:40:09 +02:00
  • 4e61a839a5 Minor changes Benoît Blanchon 2014-07-09 13:30:08 +02:00
  • a48fbac7d7 Reduced the size of EscapedString::printTo() by 4 more bytes Benoît Blanchon 2014-07-09 13:19:12 +02:00
  • af7dd55d34 Reduced the size of EscapedString::printTo() by 4 bytes Benoît Blanchon 2014-07-09 13:16:10 +02:00
  • 525649c416 Reduced the size of EscapedString::printTo() by 26 bytes Benoît Blanchon 2014-07-09 12:57:50 +02:00
  • 1f86016320 Extracted function getSpecialChar() Benoît Blanchon 2014-07-09 12:50:03 +02:00
  • c38af3e32c Cleaned up Benoit Blanchon 2014-07-08 21:29:19 +02:00
  • 0a0757945e Reduced the size of JsonHashTableBase::printTo() by 12 bytes Benoît Blanchon 2014-07-08 13:49:35 +02:00
  • e63cde3922 Reducted the size of JsonHashTableBase::printTo() by 18 bytes ! Benoît Blanchon 2014-07-08 13:46:34 +02:00
  • 5bb6cd0fa9 Extracted class JsonArrayBase to reduce code size Benoît Blanchon 2014-07-08 13:38:37 +02:00
  • bbc18b5ca4 Extracted class JsonHashTableBase to reduce the size of the code. Benoît Blanchon 2014-07-08 13:27:29 +02:00
  • 6d3b70f4a3 Updated encoder size Benoit Blanchon 2014-07-07 20:04:25 +02:00
  • cbedcdf93b Minor change Benoit Blanchon 2014-07-07 19:50:19 +02:00
  • 6fcf9edf9a Updated README.md Benoît Blanchon 2014-07-07 16:23:54 +02:00
  • bb11fcba89 Updated the example. Benoît Blanchon 2014-07-07 16:22:43 +02:00
  • a87b2bf5bf Adde EscapedString to the cpp files Benoît Blanchon 2014-07-07 16:21:34 +02:00
  • f28997e367 Added a work around for Arduino 1.0.5 Benoît Blanchon 2014-07-07 16:21:19 +02:00
  • 42968be535 Updated type sizes Benoît Blanchon 2014-07-07 14:07:24 +02:00
  • 6c1ab912ff Added namespace ArduinoJson::Internals for private types Benoît Blanchon 2014-07-07 14:05:41 +02:00
  • 99521cc718 Removed default template value for DIGITS, because Arduino 1.0.5 refused it Benoît Blanchon 2014-07-07 13:59:31 +02:00
  • b3613f7137 Use EscapedString for keys in JsonHashTable Benoît Blanchon 2014-07-07 13:48:50 +02:00
  • 1b62502b36 Extracted class EscapedString Benoît Blanchon 2014-07-07 13:38:35 +02:00
  • adb8fa4d44 Set a default value for DIGITS Benoît Blanchon 2014-07-07 13:28:31 +02:00
  • 3b6ce65054 Reduced the size of JsonValue to 6 bytes ! Benoît Blanchon 2014-07-07 13:27:12 +02:00
  • be6c4bf4d1 Number of digits is now a template parameter Benoît Blanchon 2014-07-07 13:24:14 +02:00
  • 4e6ad31d6a Reduced the size of JsonValue by removing the pointer to instance methods. Benoit Blanchon 2014-07-06 21:34:46 +02:00
  • 1cec019457 Reduce the size of JsonValue by removing the virtual Benoit Blanchon 2014-07-06 21:28:39 +02:00
  • 2e97dbdedc Reduced the size of JsonValue by no implementing Printable Benoit Blanchon 2014-07-06 21:08:04 +02:00
  • 8f9d3b638f Removed content.asFloat Benoit Blanchon 2014-07-06 20:36:11 +02:00
  • 8be590e591 Added README.md Benoit Blanchon 2014-07-06 14:47:50 +02:00
  • 8baf21b6e8 Minor changes Benoit Blanchon 2014-07-05 21:39:56 +02:00
  • 935cb068ab Updated README.md Benoit Blanchon 2014-07-05 16:09:37 +02:00
  • efd8c0ff5c Improved the example Benoit Blanchon 2014-07-05 13:10:07 +02:00
  • 757c86ddc5 Simplified the example Benoit Blanchon 2014-07-05 13:09:46 +02:00
  • 0efe8bc74a Added encoder sizes Benoit Blanchon 2014-07-05 12:53:34 +02:00
  • 65d03c9001 Fixed table Benoit Blanchon 2014-07-04 19:15:19 +02:00
  • df2e640b16 Added README.md Benoit Blanchon 2014-07-04 19:11:04 +02:00
  • 895482de15 Merged the two Visual Studio solutions into one Benoit Blanchon 2014-07-04 14:48:18 +02:00
  • 477c9c2c6e Updated changelog Benoit Blanchon 2014-07-04 14:42:57 +02:00
  • 50b2a1b4a7 Added namespace for the parser Benoît Blanchon 2014-07-03 14:00:51 +02:00
  • 78a920a5fc Now use #pragma once Benoît Blanchon 2014-07-03 13:58:08 +02:00
  • bae5c36f41 Added namespace Benoît Blanchon 2014-07-03 13:54:27 +02:00
  • 538b15b400 Updated Arduino example Benoît Blanchon 2014-07-03 13:48:11 +02:00
  • daba65d987 Added overload to add() to specify the double precision Benoît Blanchon 2014-07-03 13:45:53 +02:00
  • 5b1c2047a4 Renamed Print::write() into print() Benoît Blanchon 2014-07-03 13:38:58 +02:00
  • 81c7b9f700 Can now set the double value precision. Benoît Blanchon 2014-07-03 13:35:39 +02:00
  • 2222714d68 Moved sprintf() calls to Print.cpp Benoît Blanchon 2014-07-03 13:21:40 +02:00
  • dd5cf661e3 Moved Print::write() implementation into Print.cpp Benoît Blanchon 2014-07-03 12:55:53 +02:00
  • b560a87e15 Change unit tests relying on floating point precision Benoît Blanchon 2014-07-03 12:54:41 +02:00
  • 4d4d775e7a Renamed private method Benoît Blanchon 2014-07-03 12:41:22 +02:00
  • 9bcb5610e8 Updated the changelog Benoît Blanchon 2014-07-02 13:59:13 +02:00
  • cb0973ab38 Updated Arduino example Benoît Blanchon 2014-07-02 13:54:39 +02:00
  • c7fb77203b Replace C++11 syntax that what not supported by the Arduino IDE Benoît Blanchon 2014-07-02 13:49:23 +02:00
  • e87bde6594 Added a JsonValue constructor for float Benoît Blanchon 2014-07-02 13:46:25 +02:00
  • 922b131f8d Splitted the special char tests Benoît Blanchon 2014-07-02 13:24:33 +02:00
  • ae73a06328 Extracted class StringBuilderTests Benoît Blanchon 2014-07-02 13:16:44 +02:00
  • 61e53a505d Added a test that stores an integer in a JsonValue Benoît Blanchon 2014-07-02 13:06:38 +02:00
  • 937837848c Added a test that stores a long in a JsonValue Benoît Blanchon 2014-07-02 13:02:28 +02:00
  • 1fba9767d3 Renamed private methods Benoît Blanchon 2014-07-02 12:54:22 +02:00
  • 621068260d Renamed union members Benoît Blanchon 2014-07-02 12:51:27 +02:00