Commit Graph
89 Commits
Author SHA1 Message Date
Benoit Blanchon 6e4eb45210 Renamed JsonHashTable into JsonObject 2014-07-22 21:02:16 +02:00
Benoit Blanchon f565a9b1b7 Created a Visual Studio project for JsonGenerator 2014-07-21 09:59:47 +02:00
Benoît Blanchon 45c9ba1191 Renamed JsonObjectBase into JsonPrintable 2014-07-17 13:16:14 +02:00
Benoit Blanchon c38af3e32c Cleaned up 2014-07-08 21:29:19 +02:00
Benoît Blanchon 5bb6cd0fa9 Extracted class JsonArrayBase to reduce code size 2014-07-08 13:38:37 +02:00
Benoît Blanchon bbc18b5ca4 Extracted class JsonHashTableBase to reduce the size of the code. 2014-07-08 13:27:29 +02:00
Benoît Blanchon 6c1ab912ff Added namespace ArduinoJson::Internals for private types 2014-07-07 14:05:41 +02:00
Benoît Blanchon 99521cc718 Removed default template value for DIGITS, because Arduino 1.0.5 refused it 2014-07-07 13:59:31 +02:00
Benoît Blanchon 1b62502b36 Extracted class EscapedString 2014-07-07 13:38:35 +02:00
Benoît Blanchon adb8fa4d44 Set a default value for DIGITS 2014-07-07 13:28:31 +02:00
Benoît Blanchon be6c4bf4d1 Number of digits is now a template parameter 2014-07-07 13:24:14 +02:00
Benoit Blanchon 895482de15 Merged the two Visual Studio solutions into one 2014-07-04 14:48:18 +02:00
Benoît Blanchon bae5c36f41 Added namespace 2014-07-03 13:55:38 +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 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 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
Benoît Blanchon dd8baea373 Fixed the failing tests 2014-06-27 13:24:10 +02:00
Benoît Blanchon 568b8988d8 Renamed private members 2014-06-27 13:18:38 +02:00
Benoît Blanchon 4f4b35bd41 Small refactoring of the tests 2014-06-27 13:09:52 +02:00