Commit Graph

  • e8831c28d9 Added JsonGenerator example for Arduino Benoît Blanchon 2014-07-01 14:08:15 +02:00
  • a9b8e280fe Moved implementation is a new folder Benoît Blanchon 2014-07-01 13:50:54 +02:00
  • 4d5a7114c1 Added interface Printable. Benoît Blanchon 2014-07-01 13:44:36 +02:00
  • c3359d3eb9 Renamed JsonSink into Print Benoît Blanchon 2014-07-01 13:36:22 +02:00
  • c84860e3f4 Renamed JsonSink::append() into write() to match Arduino's Print class Benoît Blanchon 2014-07-01 13:33:00 +02:00
  • 1401665129 Added tests of writeTo() return value Benoît Blanchon 2014-07-01 13:29:54 +02:00
  • 19e007c3f5 Added tests of writeTo() return value Benoît Blanchon 2014-07-01 13:25:21 +02:00
  • 88f630cee5 Added tests on returned value. Benoît Blanchon 2014-07-01 13:20:47 +02:00
  • a57220debc Changed JsonSink to match Arduino's Print class Benoît Blanchon 2014-07-01 13:15:50 +02:00
  • 69d682ce81 Extracted interface JsonSink. Benoît Blanchon 2014-06-30 19:19:39 +02:00
  • 81f7849c26 Got rid of the switch/case in JsonValue Benoît Blanchon 2014-06-30 18:37:54 +02:00
  • 10068e7b22 Added a test of an empty hash table in a hash table Benoît Blanchon 2014-06-30 12:48:55 +02:00
  • 5b2ee9ed29 Added a test of an empty array in a hash Benoît Blanchon 2014-06-30 12:47:53 +02:00
  • 93ddb9498e Added tests that adds a boolean to a hash table Benoît Blanchon 2014-06-27 13:59:11 +02:00
  • 495efd8629 Added a test that adds a null in a hash table Benoît Blanchon 2014-06-27 13:57:06 +02:00
  • f548093d86 Added a test of one number in a hash table Benoît Blanchon 2014-06-27 13:54:51 +02:00
  • 5f77949636 Added a test of one string over hash table's capacity Benoît Blanchon 2014-06-27 13:53:55 +02:00
  • e26cea59e5 Added a test with two strings in a hash table Benoît Blanchon 2014-06-27 13:52:01 +02:00
  • 1800a8e89e Added a test of a nested hash table in an array Benoît Blanchon 2014-06-27 13:49:03 +02:00
  • 1d064d709b Removed the overloads of add() by using a templated type Benoît Blanchon 2014-06-27 13:45:50 +02:00
  • b7933f85ba Renamed addItem() to add() Benoît Blanchon 2014-06-27 13:43:26 +02:00
  • 0240270492 Extracted class JsonValue Benoît Blanchon 2014-06-27 13:42:26 +02:00
  • dd8baea373 Fixed the failing tests Benoît Blanchon 2014-06-27 13:24:10 +02:00
  • 568b8988d8 Renamed private members Benoît Blanchon 2014-06-27 13:18:38 +02:00
  • 4f4b35bd41 Small refactoring of the tests Benoît Blanchon 2014-06-27 13:09:52 +02:00
  • ff4060f5d1 Added a test that adds a string value in a hash Benoît Blanchon 2014-06-27 13:07:38 +02:00
  • ebb257df6e Added a test of an empty hashtable Benoît Blanchon 2014-06-27 13:00:27 +02:00
  • 48a91a219c Moved writeTo to JsonObjectBase Benoît Blanchon 2014-06-26 13:39:05 +02:00
  • e75e3b6527 Delete empty file Benoît Blanchon 2014-06-26 13:30:18 +02:00
  • 63ae9ef096 Moved floating point formatting to StringBuilder Benoît Blanchon 2014-06-26 13:28:42 +02:00
  • 33508e3fe0 Minor simplifications Benoît Blanchon 2014-06-26 13:18:28 +02:00
  • 1c4d4bfd2d Added a test with a NULL string Benoît Blanchon 2014-06-26 13:16:22 +02:00
  • 18587d132b Added a test with a NULL string Benoît Blanchon 2014-06-26 13:14:09 +02:00
  • d12e25bd8a Added a test with special chars Benoît Blanchon 2014-06-26 13:10:52 +02:00
  • 25118ad8c0 Added a test class for StringBuilder.appendEscaped() Benoît Blanchon 2014-06-26 13:05:49 +02:00
  • 7ab728e996 Added a test that appends a string longer that the capacity of the builder Benoît Blanchon 2014-06-26 13:00:14 +02:00
  • ca99749f28 Added a test that appends 2 string Benoît Blanchon 2014-06-26 12:56:30 +02:00
  • 55487ad668 Added a test that appends special chars Benoît Blanchon 2014-06-26 12:55:40 +02:00
  • 6ea9574330 Added a test that append a normal string Benoît Blanchon 2014-06-26 12:53:58 +02:00
  • 1e44f5522e Added a test that appends an empty string Benoît Blanchon 2014-06-26 12:52:56 +02:00
  • 786fe994aa Added a test class for StringBuilder Benoît Blanchon 2014-06-26 12:50:48 +02:00
  • 6b61617133 Added a test that adds a string with a backslash in it Benoît Blanchon 2014-06-25 13:55:18 +02:00
  • 45dfdbd5e4 Added method appendFormatted() Benoît Blanchon 2014-06-25 13:50:28 +02:00
  • dd6fd6f198 Added a tests of a string with a double quote in it Benoît Blanchon 2014-06-25 13:47:28 +02:00
  • ca53abdc41 Moved implementation to the .cpp file Benoît Blanchon 2014-06-25 13:34:47 +02:00
  • 5e4c4a4bdc Renamed the inner types Benoît Blanchon 2014-06-25 13:33:19 +02:00
  • aa6cf308db Added a test that adds a nested array to an array Benoît Blanchon 2014-06-25 13:31:05 +02:00
  • b8df795cb5 Added a test that adds a empty nested array in an array Benoît Blanchon 2014-06-25 13:28:56 +02:00
  • 4c387e9062 Extracted base class JsonObjectBase Benoît Blanchon 2014-06-25 13:23:08 +02:00
  • d57234e92c JsonArray: extracted methods addItem Benoît Blanchon 2014-06-25 13:14:10 +02:00
  • 6f247a5080 Extracted class StringBuilder Benoît Blanchon 2014-06-25 13:02:39 +02:00
  • d306422ed9 Replace single quotes by double quotes Benoit Blanchon 2014-06-24 21:28:02 +02:00
  • 2a20c5a25c Added a tests that adds a 'null' to an array Benoit Blanchon 2014-06-24 21:24:38 +02:00
  • 1118dd7b53 Added a test that adds a boolean to a full array Benoit Blanchon 2014-06-24 21:19:05 +02:00
  • 3d4f0f741d Added a test that adds two booleans to an array Benoit Blanchon 2014-06-24 21:18:12 +02:00
  • 77a3e1737d Added a test that adds a 'false' to an array Benoit Blanchon 2014-06-24 21:17:12 +02:00
  • a27bb3097a Generator: added a tests that adds a 'true' to an array Benoit Blanchon 2014-06-24 21:15:07 +02:00
  • 5c119099f3 Generator: added a test of an array with too many numbers Benoit Blanchon 2014-06-24 21:09:25 +02:00
  • bb705bab63 Generator: added a test with two numbers in an array Benoit Blanchon 2014-06-24 21:07:17 +02:00
  • 22ca52326c Generator: added a test of a float in an array Benoît Blanchon 2014-06-24 13:53:30 +02:00
  • aa8cff7101 Generator: added a test of a full array Benoît Blanchon 2014-06-24 13:38:48 +02:00
  • df25a21050 Generator: added a test of an array with 2 strings Benoît Blanchon 2014-06-24 13:36:40 +02:00
  • f18f554c2f Generator: added a test of one string in an array Benoît Blanchon 2014-06-24 13:34:55 +02:00
  • c8c1add4ab Generator: added empty array test Benoît Blanchon 2014-06-24 13:19:23 +02:00
  • 3d8b31b1ec Moved all JsonParser code in a sub-folder. Benoit Blanchon 2014-06-24 12:53:22 +02:00
  • 80e0a51c15 Updated change log v1.2 Benoit Blanchon 2014-03-03 14:02:34 +01:00
  • dd416e51f3 Added links Benoit Blanchon 2014-03-03 14:00:00 +01:00
  • 7059e35938 Fixed char[] json in the example Benoit Blanchon 2014-03-01 12:59:45 +01:00
  • 17d1f5cd2f Updated the change log v1.1 Benoit Blanchon 2014-02-27 19:51:24 +01:00
  • 8c2a1fab72 Remplaced char* by char[] Benoit Blanchon 2014-02-27 13:59:06 +01:00
  • c844db8659 Added change log Benoit Blanchon 2014-02-27 13:54:34 +01:00
  • 3661f801a5 Refactored getNestedTokenCount() Benoit Blanchon 2014-02-27 13:32:50 +01:00
  • a35d503a02 Fixed the bug in getNestedTokenCount() Benoit Blanchon 2014-02-27 13:30:03 +01:00
  • 2ed6317135 Added more test on arrays Benoit Blanchon 2014-02-27 13:20:49 +01:00
  • a278cd825f Added unit tests for invalid arrays Benoit Blanchon 2014-02-27 13:12:52 +01:00
  • 0eaa5e3f1b Fixed null pointer exception in JsonArray and JsonHashTable constructors Benoit Blanchon 2014-02-27 13:12:10 +01:00
  • b35095ded1 Added unit tests on multi-dimensional arrays to isolate the bug Benoit Blanchon 2014-02-27 13:03:25 +01:00
  • 597b4c7888 Added unit tests for all members of the gbathree JSON string Benoit Blanchon 2014-02-27 12:48:06 +01:00
  • 995aa7dd40 Added unit tests of sample string given by gbatree Benoit Blanchon 2014-02-26 22:29:20 +01:00
  • a58fb13d37 Added unit tests of the JsonArray example Benoit Blanchon 2014-02-26 22:09:14 +01:00
  • d994178678 Added .gitignore for the tests folder Benoit Blanchon 2014-02-26 22:00:35 +01:00
  • dc1b3f3d78 Added Unit Test for the HashTable example Benoit Blanchon 2014-02-26 21:58:20 +01:00
  • 006fc13141 Example: change the type of the json string from char* to char[] because it cause issue in memory protected environments. Benoit Blanchon 2014-02-26 21:38:58 +01:00
  • 53466a2fb2 Changed the title v1.0 Benoit Blanchon 2014-01-23 12:59:28 +01:00
  • f5a1e1d5e0 Added "features" section Benoit Blanchon 2014-01-22 21:50:24 +01:00
  • 1c55c19680 Added "features" section Benoit Blanchon 2014-01-22 21:46:52 +01:00
  • d3cb228922 Added "Common pitfall" section Benoit Blanchon 2014-01-16 13:31:52 +01:00
  • 4e41eb515b Changed the JsonParser template parameter to be the max number of tokens instead of the number of bytes Benoit Blanchon 2014-01-15 20:55:29 +01:00
  • 9fd5288c4d Added a few "const" to remove a few GCC warnings Benoit Blanchon 2014-01-15 20:41:31 +01:00
  • 0e9840da3f Removed multiple tabs that prevent the syntax highlighting from working Benoit Blanchon 2014-01-15 20:33:12 +01:00
  • 38249f5c21 Fixed bugs in when token is not found Benoit Blanchon 2014-01-15 13:47:06 +01:00
  • 0ae9a420bb Added more "Code Size" tables Benoit Blanchon 2014-01-13 23:11:50 +01:00
  • d3b5ad7dc1 Added "Code Size" section Benoit Blanchon 2014-01-13 22:50:16 +01:00
  • 9796aa5e2f Fixed a few mistakes. Benoit Blanchon 2014-01-13 20:08:33 +01:00
  • 00cf097e5f Fixed a few mistakes. Benoit Blanchon 2014-01-13 19:53:40 +01:00
  • 319600d51c Added JsonHashTable::containsKey() Benoit Blanchon 2014-01-13 19:46:53 +01:00
  • 9f4eb42cd6 Added "How to use" section Benoit Blanchon 2014-01-13 14:11:34 +01:00
  • dfd51b8f76 Added keywords.txt to allow syntax highlighting in Arduino IDE Benoit Blanchon 2014-01-13 13:36:22 +01:00
  • 3b91a8a218 Added README.md Benoit Blanchon 2014-01-12 23:07:15 +01:00
  • 4377a5020a Added example sketch Benoit Blanchon 2014-01-12 20:35:43 +01:00