Commit Graph

  • 074c39ca5b Fixed namespaces Benoit Blanchon 2014-10-18 23:05:54 +02:00
  • 1abb8ac6ae Added tests of the trailing string Benoit Blanchon 2014-10-18 22:25:48 +02:00
  • b19a37538c Changed JsonParser_String_Tests into QuotedString_ExtractFrom_Tests Benoit Blanchon 2014-10-18 22:12:43 +02:00
  • fc4faacfec Renamed EscapedString into QuotedString Benoit Blanchon 2014-10-18 22:04:13 +02:00
  • bbc2aa4f2a Allow string to be enclosed in single quotes Benoit Blanchon 2014-10-18 21:54:08 +02:00
  • 1f6bd5c04d Added more test of escaped chars Benoit Blanchon 2014-10-17 22:32:55 +02:00
  • 32ffb75394 Fixed compilation warning Benoit Blanchon 2014-10-17 21:51:58 +02:00
  • 7df73824aa Fixed field orders Benoit Blanchon 2014-10-17 20:57:38 +02:00
  • 9c32ae2300 Parser: unescape strings Benoit Blanchon 2014-10-17 19:57:00 +02:00
  • b15dac7edf Renamed EscapedStringTests into EscapedString_PrintTo_Tests Benoit Blanchon 2014-10-17 12:53:38 +02:00
  • 2a62132bf0 Added JsonParser_String_Tests.cpp Benoit Blanchon 2014-10-16 21:54:42 +02:00
  • a0a82c0f4e Renamed file Benoit Blanchon 2014-10-16 21:43:44 +02:00
  • 24b46af48a Moved build output to bin/ and lib/ Benoit Blanchon 2014-10-16 21:29:59 +02:00
  • fed79bfd81 Updated the script to work on Windows too Benoit Blanchon 2014-10-16 21:06:13 +02:00
  • 7dbaac1070 Added a new script to create build environments Benoit Blanchon 2014-10-16 18:23:41 +02:00
  • 58d2c4a62f Renamed srcs/ into src/ Benoit Blanchon 2014-10-16 16:25:42 +02:00
  • b847576bb4 Renamed tests/ into test/ Benoit Blanchon 2014-10-16 16:23:24 +02:00
  • 58f155e135 Moved .h files to include/ Benoit Blanchon 2014-10-16 00:11:23 +02:00
  • 241ca79114 Parse simple strings Benoit Blanchon 2014-10-15 23:39:25 +02:00
  • 3d92531ad3 Parse 'null' Benoit Blanchon 2014-10-15 23:27:38 +02:00
  • c61ee09d26 Parse booleans Benoit Blanchon 2014-10-15 23:10:52 +02:00
  • c59ddd8a9d Fixed number of tokens (issue #29) Benoit Blanchon 2014-10-15 16:31:20 +02:00
  • 086d07151f Parse doubles Benoit Blanchon 2014-10-15 14:54:31 +02:00
  • a1cb9c9399 Added methods to clarify the tests Benoit Blanchon 2014-10-15 13:48:26 +02:00
  • f265b6ed11 Fixed compilation warnings Benoit Blanchon 2014-10-14 21:57:34 +02:00
  • 5db34580f2 Added test for spaces in arrays Benoit Blanchon 2014-10-14 21:49:56 +02:00
  • beb49a9446 Parse an array with two longs Benoit Blanchon 2014-10-14 21:48:22 +02:00
  • ee205971e9 Test what happens with just an opening bracket Benoit Blanchon 2014-10-14 21:35:47 +02:00
  • ded6364e1d Moved the location of the VS files Benoit Blanchon 2014-10-14 21:24:40 +02:00
  • 5b6b38564f Parse long values Benoit Blanchon 2014-10-14 21:24:26 +02:00
  • 31c1a3d804 Added a script to create Sublime Text project Benoit Blanchon 2014-10-14 18:02:24 +02:00
  • 81f3460806 Parse empty array with leading spaces Benoit Blanchon 2014-10-14 18:01:49 +02:00
  • 081b345e7c Parse invalid array Benoit Blanchon 2014-10-14 17:28:57 +02:00
  • f468db6757 Parse empty array Benoit Blanchon 2014-10-14 17:16:21 +02:00
  • c7dcf864cc Added *.h files Benoit Blanchon 2014-10-14 13:55:07 +02:00
  • 6d39bfa703 Added a script to generate VS solution Benoit Blanchon 2014-10-14 12:31:08 +02:00
  • 4ee1ac015f Created scripts/ Benoit Blanchon 2014-10-14 12:23:40 +02:00
  • b2e2556ef6 Removed Visual Studio project files Benoit Blanchon 2014-10-14 12:22:17 +02:00
  • 8f74e4e44e Splitted CMakeLists.txt Benoit Blanchon 2014-10-14 10:01:46 +02:00
  • be891daa5a Added CMakeLists.txt Benoit Blanchon 2014-10-14 09:51:23 +02:00
  • 95a2d6714e Fix minor issues for GCC Benoit Blanchon 2014-10-14 09:50:58 +02:00
  • 3ce5e53323 Removed duplicate code of v3 Benoit Blanchon 2014-10-13 21:27:56 +02:00
  • f8c3cdf2ff Fixed mistakes in the tests Benoit Blanchon 2014-10-13 21:03:32 +02:00
  • 88aed98447 Fixed JsonContainer::operator== Benoit Blanchon 2014-10-13 21:01:11 +02:00
  • 3ae90b66c6 Added tested for createNestedArray() and createNestedObject() Benoit Blanchon 2014-10-13 18:12:23 +02:00
  • 10c0a8ba70 Ported tests of issue #10 Benoit Blanchon 2014-10-13 17:56:16 +02:00
  • d192a14e2e Fixed compiler warning Benoit Blanchon 2014-10-11 16:59:16 +02:00
  • b49aa22c65 Replaced non-const references by pointer to follow Google style guide Benoit Blanchon 2014-10-11 16:58:24 +02:00
  • dae0dc5ebb Replaced old style casts (issue #28) Benoit Blanchon 2014-10-10 18:44:04 +02:00
  • 35eaa55b3a Added JSON_PROXY to copy arrays and objects by reference Benoit Blanchon 2014-10-09 18:20:40 +02:00
  • bf2d726746 Minor changes Benoit Blanchon 2014-10-09 14:48:55 +02:00
  • 0dce0022d3 Made JsonNodeType private Benoit Blanchon 2014-10-09 14:31:25 +02:00
  • 1bff34a204 Made JsonNode::next private Benoit Blanchon 2014-10-09 14:19:43 +02:00
  • 24c60619d5 Made JsonNode::type private Benoit Blanchon 2014-10-09 14:17:09 +02:00
  • b0e12e8852 Refactoring JsonNode... Benoit Blanchon 2014-10-09 12:14:10 +02:00
  • f7fa9e9467 Added JsonArray::createNestedObject() Benoit Blanchon 2014-10-07 15:27:24 +02:00
  • 09b6f71853 Added JsonObject::createNestedArray() Benoit Blanchon 2014-10-07 12:11:10 +02:00
  • e28119f03b Test JsonObject::prettyPrintTo() Benoit Blanchon 2014-10-07 11:58:59 +02:00
  • 7a40711af3 Added JsonContainer::prettyPrintTo() Benoit Blanchon 2014-10-07 11:22:10 +02:00
  • b6799dc231 Refactored the serialization Benoit Blanchon 2014-10-05 16:25:49 +02:00
  • 31c9ea9b28 Test JsonArray serialization Benoit Blanchon 2014-10-05 15:23:52 +02:00
  • 6330ab1271 Test that JsonObject can contain inner arrays Benoit Blanchon 2014-10-05 15:15:25 +02:00
  • c35a0fadc3 Test that JsonArray can contain inner objects Benoit Blanchon 2014-10-05 15:14:29 +02:00
  • bbe034222c Test that JsonArray can contain inner arrays Benoit Blanchon 2014-10-05 15:13:00 +02:00
  • 305944e907 Test that JsonArray can store strings Benoit Blanchon 2014-10-05 15:04:44 +02:00
  • f0754aed53 Test that JsonArray can store booleans Benoit Blanchon 2014-10-05 15:04:17 +02:00
  • 99a785179d Test that JsonArray can contain doubles Benoit Blanchon 2014-10-05 15:02:40 +02:00
  • 21259bc61a Test that JsonArray can store integers Benoit Blanchon 2014-10-05 14:55:14 +02:00
  • 4c67d0579a Test that JsonArray grows after calling add() Benoit Blanchon 2014-10-05 14:48:19 +02:00
  • cb3c59ec07 Added JsonArray Benoit Blanchon 2014-10-05 14:40:03 +02:00
  • e725b756a6 Merge pull request #27 from ivankravets/patch-1 Benoît Blanchon 2014-10-04 10:31:15 +02:00
  • dbe6f89ed8 PlatformIO-based manifest file Ivan Kravets 2014-10-03 22:06:24 +03:00
  • 84e34d2a27 Added content of issue #26 in the testimonials Benoit Blanchon 2014-10-03 10:06:52 +02:00
  • 4d2d535a03 Pulled up code from JsonObject to JsonContainer Benoit Blanchon 2014-10-01 16:56:22 +02:00
  • b0e43f7538 Extracted class JsonContainer Benoit Blanchon 2014-10-01 16:13:36 +02:00
  • d66a7adc22 Moved files into Internals/ and Arduino/ Benoit Blanchon 2014-10-01 16:08:32 +02:00
  • 1a98fd5dfc Serialize inner objects Benoit Blanchon 2014-10-01 15:47:32 +02:00
  • 57400cee14 Extracted methods serializeObject and serializeKeyValue Benoit Blanchon 2014-10-01 12:36:57 +02:00
  • c99bdbf4b9 Extracted JsonNodeSerializer Benoit Blanchon 2014-10-01 12:28:30 +02:00
  • a665fa1dec Converted StringBuilder tests to gtest Benoit Blanchon 2014-09-30 18:07:08 +02:00
  • 78048d1d92 Converted EscapedString tests to gtest Benoit Blanchon 2014-09-30 18:03:17 +02:00
  • 065fe57a7c Serialize booleans in objects Benoit Blanchon 2014-09-30 17:56:28 +02:00
  • f251563af1 Serialize floats in objects Benoit Blanchon 2014-09-30 17:32:45 +02:00
  • c1ab55f9d9 Serialize integer values in object Benoit Blanchon 2014-09-30 17:24:14 +02:00
  • 27a4d57f7c Test that now value can be added when all nodes are allocated Benoit Blanchon 2014-09-30 17:14:59 +02:00
  • 22e36bbe9c Restored tests from previous test suite Benoit Blanchon 2014-09-30 17:08:59 +02:00
  • d2e1b241be Test that size doesn't change when remove() is called with an invalid key Benoit Blanchon 2014-09-30 17:07:29 +02:00
  • 3d9e40a3a8 Test that the size is decreased when object are removed Benoit Blanchon 2014-09-30 17:05:33 +02:00
  • 9f85368cce Test serialization of an object with strings Benoit Blanchon 2014-09-30 16:59:44 +02:00
  • 3243f2dc58 Implement Printable Benoit Blanchon 2014-09-30 16:43:10 +02:00
  • 6b2705769a Refactored to use StringBuilder Benoit Blanchon 2014-09-30 16:40:00 +02:00
  • ab2587f089 Test empty object serialization Benoit Blanchon 2014-09-30 16:31:22 +02:00
  • d3cf568d07 Test that char* are copied Benoit Blanchon 2014-09-28 21:35:08 +02:00
  • e417c137fc Test that bool values are copied Benoit Blanchon 2014-09-28 21:23:40 +02:00
  • d549070fd3 Test that doubles in JsonValue are copied Benoit Blanchon 2014-09-28 21:22:20 +02:00
  • 42ce5ab31f Test that integers in JsonValue are copied Benoit Blanchon 2014-09-28 21:18:43 +02:00
  • e190b20ae1 Fixed inner object bug Benoit Blanchon 2014-09-28 21:04:59 +02:00
  • ce788d96c4 Changed naming convention to avoid shadowing (issue #25) Benoit Blanchon 2014-09-28 13:36:41 +02:00
  • cc19266470 Added missing newline at end-of-file (issue #24) Benoit Blanchon 2014-09-27 21:24:29 +02:00
  • 18f93b4eb6 Fixed issue #22 Benoit Blanchon 2014-09-20 18:44:10 +02:00