Commit Graph

752 Commits

Author SHA1 Message Date
Benoit Blanchon efd8c0ff5c Improved the example 2014-07-05 13:10:07 +02:00
Benoit Blanchon 757c86ddc5 Simplified the example 2014-07-05 13:09:46 +02:00
Benoit Blanchon 0efe8bc74a Added encoder sizes 2014-07-05 12:53:34 +02:00
Benoit Blanchon 65d03c9001 Fixed table 2014-07-04 19:15:19 +02:00
Benoit Blanchon df2e640b16 Added README.md 2014-07-04 19:11:04 +02:00
Benoit Blanchon 895482de15 Merged the two Visual Studio solutions into one 2014-07-04 14:48:18 +02:00
Benoit Blanchon 477c9c2c6e Updated changelog 2014-07-04 14:42:57 +02:00
Benoît Blanchon 50b2a1b4a7 Added namespace for the parser 2014-07-03 14:01:45 +02:00
Benoît Blanchon 78a920a5fc Now use #pragma once 2014-07-03 13:58:08 +02:00
Benoît Blanchon bae5c36f41 Added namespace 2014-07-03 13:55:38 +02:00
Benoît Blanchon 538b15b400 Updated Arduino example 2014-07-03 13:48:11 +02:00
Benoît Blanchon daba65d987 Added overload to add() to specify the double precision 2014-07-03 13:45:53 +02:00
Benoît Blanchon 5b1c2047a4 Renamed Print::write() into print() 2014-07-03 13:38:58 +02:00
Benoît Blanchon 81c7b9f700 Can now set the double value precision. 2014-07-03 13:35:39 +02:00
Benoît Blanchon 2222714d68 Moved sprintf() calls to Print.cpp 2014-07-03 13:21:40 +02:00
Benoît Blanchon dd5cf661e3 Moved Print::write() implementation into Print.cpp 2014-07-03 12:55:53 +02:00
Benoît Blanchon b560a87e15 Change unit tests relying on floating point precision 2014-07-03 12:54:41 +02:00
Benoît Blanchon 4d4d775e7a Renamed private method 2014-07-03 12:41:22 +02:00
Benoît Blanchon 9bcb5610e8 Updated the changelog 2014-07-02 13:59:13 +02:00
Benoît Blanchon cb0973ab38 Updated Arduino example 2014-07-02 13:54:39 +02:00
Benoît Blanchon c7fb77203b Replace C++11 syntax that what not supported by the Arduino IDE 2014-07-02 13:49:23 +02:00
Benoît Blanchon e87bde6594 Added a JsonValue constructor for float 2014-07-02 13:46:25 +02:00
Benoît Blanchon 922b131f8d Splitted the special char tests 2014-07-02 13:24:33 +02:00
Benoît Blanchon ae73a06328 Extracted class StringBuilderTests 2014-07-02 13:16:44 +02:00
Benoît Blanchon 61e53a505d Added a test that stores an integer in a JsonValue 2014-07-02 13:06:38 +02:00
Benoît Blanchon 937837848c Added a test that stores a long in a JsonValue 2014-07-02 13:02:28 +02:00
Benoît Blanchon 1fba9767d3 Renamed private methods 2014-07-02 12:54:22 +02:00
Benoît Blanchon 621068260d Renamed union members 2014-07-02 12:52:22 +02:00
Benoît Blanchon e8831c28d9 Added JsonGenerator example for Arduino 2014-07-01 14:08:15 +02:00
Benoît Blanchon a9b8e280fe Moved implementation is a new folder 2014-07-01 13:50:54 +02:00
Benoît Blanchon 4d5a7114c1 Added interface Printable. 2014-07-01 13:44:36 +02:00
Benoît Blanchon c3359d3eb9 Renamed JsonSink into Print 2014-07-01 13:36:22 +02:00
Benoît Blanchon c84860e3f4 Renamed JsonSink::append() into write() to match Arduino's Print class 2014-07-01 13:33:00 +02:00
Benoît Blanchon 1401665129 Added tests of writeTo() return value 2014-07-01 13:29:54 +02:00
Benoît Blanchon 19e007c3f5 Added tests of writeTo() return value 2014-07-01 13:25:21 +02:00
Benoît Blanchon 88f630cee5 Added tests on returned value. 2014-07-01 13:20:47 +02:00
Benoît Blanchon a57220debc Changed JsonSink to match Arduino's Print class 2014-07-01 13:15:50 +02:00
Benoît Blanchon 69d682ce81 Extracted interface JsonSink. 2014-06-30 19:19:39 +02:00
Benoît Blanchon 81f7849c26 Got rid of the switch/case in JsonValue 2014-06-30 18:37:54 +02:00
Benoît Blanchon 10068e7b22 Added a test of an empty hash table in a hash table 2014-06-30 12:49:12 +02:00
Benoît Blanchon 5b2ee9ed29 Added a test of an empty array in a hash 2014-06-30 12:47:53 +02:00
Benoît Blanchon 93ddb9498e Added tests that adds a boolean to a hash table 2014-06-27 13:59:11 +02:00
Benoît Blanchon 495efd8629 Added a test that adds a null in a hash table 2014-06-27 13:57:06 +02:00
Benoît Blanchon f548093d86 Added a test of one number in a hash table 2014-06-27 13:54:51 +02:00
Benoît Blanchon 5f77949636 Added a test of one string over hash table's capacity 2014-06-27 13:53:55 +02:00
Benoît Blanchon e26cea59e5 Added a test with two strings in a hash table 2014-06-27 13:52:01 +02:00
Benoît Blanchon 1800a8e89e Added a test of a nested hash table in an array 2014-06-27 13:49:03 +02:00
Benoît Blanchon 1d064d709b Removed the overloads of add() by using a templated type 2014-06-27 13:45:50 +02:00
Benoît Blanchon b7933f85ba Renamed addItem() to add() 2014-06-27 13:43:26 +02:00
Benoît Blanchon 0240270492 Extracted class JsonValue 2014-06-27 13:42:26 +02:00