Benoit Blanchon
2ea7ea153c
Set version to 5.11.1
2017-07-14 11:17:11 +02:00
Benoit Blanchon
2772e66064
Fixed warning "this statement may fall through" (issue #539 )
2017-07-14 11:14:56 +02:00
Benoit Blanchon
d41f7a8165
Fixed too many decimals places in float serialization (issue #543 )
2017-07-14 10:51:46 +02:00
Benoit Blanchon
abfd3997eb
Fixed "constant exceeds range of float [-Woverflow]" (issue #544 )
2017-07-09 15:24:58 +02:00
Benoit Blanchon
788c9be016
Removed dependency on PGM_P as Particle 0.6.2 doesn't define it (issue #546 )
2017-07-07 23:04:42 +02:00
Benoit Blanchon
c3d7a79a83
Travis: Removed Arduino DUE on platformio (fatal error: Ethernet.h: No such file or directory)
2017-07-06 20:56:05 +02:00
Benoit Blanchon
1782348275
Added Charles Walker to the list of donators
2017-07-06 20:55:05 +02:00
Benoit Blanchon
edfe5c6622
Set version to 5.11.0
2017-06-25 15:11:57 +02:00
Benoit Blanchon
2b9492317b
Added Charles Haynes to the list of donators
2017-06-22 21:56:41 +02:00
Benoit Blanchon
5da41edf6a
Removed implementation of JsonBufferAllocated::delete.
2017-06-19 10:05:38 +02:00
Benoit Blanchon
476e5aaa86
Added DynamicJsonBuffer::clear()
2017-06-17 16:48:40 +02:00
Benoit Blanchon
789fa507b5
Added StaticJsonBuffer::clear()
2017-06-17 15:00:46 +02:00
Benoit Blanchon
508f936317
Made JsonBuffer non-copyable (PR #524 by @luisrayas3)
2017-06-17 14:17:01 +02:00
Benoit Blanchon
e9d88dda8e
Set version to 5.10.1
2017-06-12 21:10:02 +02:00
Benoit Blanchon
ecceb71a1e
AppVeyor: Added Visual Studio 2017 and restored MinGW
2017-06-07 11:15:22 +02:00
Benoit Blanchon
bff77abe6a
Fixed reading "true" as a float (issue #516 )
2017-06-03 16:22:26 +02:00
Benoit Blanchon
98413089f6
Added Google to the list of donators
2017-06-01 20:49:50 +02:00
Benoit Blanchon
a2446f6c68
Fixed compilation in IAR Embedded Workbench (issue #515 )
2017-06-01 20:47:09 +02:00
Benoit Blanchon
c955049207
Fixed IntelliSense errors in Visual Micro (issue #483 )
2017-05-28 15:33:03 +02:00
Benoit Blanchon
574c00c096
Added links to the ArduinoJson assistant (issue #513 )
2017-05-27 15:32:12 +02:00
Benoit Blanchon
7415f206ea
Reduced code size
2017-05-27 15:08:11 +02:00
Benoit Blanchon
f76017a015
Set version to 5.10.0
2017-05-20 09:11:03 +02:00
Benoit Blanchon
cda05aec04
Removed configurable number of decimal places (issues #288 , #427 and #506 )
2017-05-20 09:06:53 +02:00
Benoit Blanchon
639286f8b6
Travis: Removed retired images
2017-05-04 22:10:43 +02:00
Benoit Blanchon
cc66618e70
Fixed error forming reference to reference (issue #495 )
2017-05-04 21:58:28 +02:00
Benoit Blanchon
9efc0ec40d
Travis: Added GCC 6
2017-05-02 21:32:19 +02:00
Benoit Blanchon
34674fc282
Fixed error IsBaseOf is not a member of ArduinoJson::TypeTraits (issue #495 )
2017-05-02 21:29:45 +02:00
Benoit Blanchon
01c3166043
Moved testimonials to https://bblanchon.github.io/ArduinoJson/
2017-04-29 17:54:26 +02:00
Benoit Blanchon
4e9f0b2e2e
Set version to 5.9.0
2017-04-24 21:43:03 +02:00
Benoit Blanchon
f7ae91b85d
Removed unused stuffs
2017-04-22 11:35:55 +02:00
Benoit Blanchon
445dff499b
ctest --output-on-failure
2017-04-22 11:34:12 +02:00
Benoit Blanchon
9afa05e2f4
Removed Print class and converted printTo() to a template method (issue #276 )
2017-04-22 11:33:40 +02:00
Benoit Blanchon
c3e1677b7d
Fixed warnings floating constant exceeds range of floatand floating constant truncated to zero (issue #483 )
2017-04-20 14:46:52 +02:00
Benoit Blanchon
024976cda2
Renamed folder include/ to src/ (issue #461 )
2017-04-20 10:26:40 +02:00
Benoit Blanchon
df541a2a22
Changed unit testing framework from Google Test to Catch
2017-04-18 18:22:24 +02:00
Benoit Blanchon
f2ef338cb8
Renamed JsonArray::removeAt() into remove()
2017-04-12 21:07:30 +02:00
Benoit Blanchon
8c6f64c111
Added JsonArray::remove(iterator) and JsonObject::remove(iterator) (issue #479 )
2017-04-12 21:00:13 +02:00
Benoit Blanchon
5a16b2117b
Travis: Disabled Teensy (PlatformioException: Could not load broken JSON)
2017-04-10 18:55:24 +02:00
Benoit Blanchon
71edcaf20f
Split unit test into several executables
2017-04-10 15:36:59 +02:00
Benoit Blanchon
ac89d91db5
Organized test files in subfolders
2017-04-10 14:32:45 +02:00
Benoit Blanchon
e664c1ab05
Set version to 5.8.4
2017-03-26 21:33:12 +02:00
Benoit Blanchon
adba668109
Updated project URL
2017-03-25 22:05:06 +01:00
Benoit Blanchon
ad972725de
Added a script to build a single file distribution
2017-03-25 21:56:37 +01:00
Benoit Blanchon
185eccf6f5
Added custom implementation of strtol() (issue #465 )
...
`char` is now treated as an integral type (issue #337 , #370 )
2017-03-25 21:55:13 +01:00
Benoit Blanchon
c4567bac18
Added custom implementation of strtod() (issue #453 )
2017-03-19 15:23:06 +01:00
Benoit Blanchon
13409c433a
Added OpenEVSE LLC to the list of donators
2017-02-22 18:15:21 +01:00
Benoit Blanchon
20431debe0
Fuzzing: Run serializer too
2017-02-19 21:41:12 +01:00
Benoit Blanchon
797ea356ef
Fuzzing: Better seed corpus
2017-02-19 21:30:22 +01:00
Benoit Blanchon
2321473c34
Added Prokhoryatov Alexey to the list of donators
2017-02-19 21:01:26 +01:00
Benoit Blanchon
0d5f65c5f3
Set version to 5.8.3
2017-02-11 15:12:03 +01:00
Benoit Blanchon
c30241775a
Fixed JsonVariant::operator[const FlashStringHelper*] (issue #441 )
2017-02-11 15:09:08 +01:00
Benoit Blanchon
31827d03f9
Added operators == and != for two JsonVariants (issue #436 )
2017-02-11 15:06:17 +01:00
Benoit Blanchon
db9a76f7c6
Fixed an access violation in DynamicJsonBuffer when memory allocation fails (issue #433 )
2017-01-31 10:06:40 +01:00
Benoit Blanchon
3fd87e8e82
Added fuzzing/ to .mbedignore
2017-01-25 15:28:15 +01:00
Benoit Blanchon
22a2786610
Added Christoph Schmidt to the list of donators
2017-01-24 21:21:05 +01:00
Benoit Blanchon
2b5a6df1e1
Set version to 5.8.2
2017-01-22 18:08:32 +01:00
Benoit Blanchon
5fefeae404
Added deprecated attribute on asArray(), asObject() and asString() (issue #420 )
2017-01-22 17:24:17 +01:00
Benoit Blanchon
d4f725d1fa
Fixed error with string of type unsigned char* (issue #428 )
2017-01-22 15:42:47 +01:00
Benoit Blanchon
a096098c1f
Fixed error when the key of a JsonObject is a char[] and reduced code size when using const references (issue #423 )
2017-01-22 11:10:45 +01:00
Benoit Blanchon
cc8c0472ca
Fixed ignored Stream timeout and made sure we don't read more that necessary (issue #422 )
2017-01-22 10:31:05 +01:00
Benoit Blanchon
fb554071dc
Travis: Added -fsanitize to several builds
2017-01-21 19:49:44 +01:00
Benoit Blanchon
17a17c8957
Fixed parsing of comments (issue #421 )
2017-01-17 21:48:13 +01:00
Benoit Blanchon
2e7d498865
Set version to 5.8.1
2017-01-15 21:02:22 +01:00
Benoit Blanchon
567157b005
Fixed error "Stream does not name a type" (issue #412 )
2017-01-15 21:01:58 +01:00
Benoit Blanchon
ec6cbc5135
Fixed error when both ARDUINOJSON_ENABLE_STD_STREAM and ARDUINOJSON_ENABLE_ARDUINO_STREAM are set to 1
2017-01-15 15:18:59 +01:00
Benoit Blanchon
8499f0b960
Fixed errors with Variable Length Arrays (issue #416 )
2017-01-15 15:11:26 +01:00
Benoit Blanchon
11432253a1
Fixed error when assigning a volatile int to a JsonVariant (issue #415 )
2017-01-11 10:17:27 +01:00
Benoit Blanchon
f17e1c4a80
Added "Breaking Changes" section for v5.8.0
2017-01-10 10:07:57 +01:00
Benoit Blanchon
6b2f6a4f87
Added fuzzer
2017-01-08 16:17:01 +01:00
Benoit Blanchon
671329a3e9
Updated copyright year from 2016 to 2017
2017-01-06 21:07:34 +01:00
Benoit Blanchon
7e7074502f
Set version to 5.8.0
2017-01-03 22:39:44 +01:00
Benoit Blanchon
aa306d5573
Travis: Removed XCode 6.1, 6.2 and 6.3
2017-01-03 22:35:58 +01:00
Benoit Blanchon
55669e306e
Added support for Stream (issue #300 )
2017-01-03 22:03:50 +01:00
Benoit Blanchon
3f96e070ce
Reduced memory consumption by not duplicating spaces and comments
2017-01-01 21:30:20 +01:00
Benoit Blanchon
8032a4b564
Extracted StringReader and StringWriter from JsonParser
...
Split `Internals/` folder into `Data/`, `Deserialization/`, `Serialization/`
2017-01-01 21:30:20 +01:00
Benoit Blanchon
b923e8f4df
Travis: Added Clang AddressSanitizer and UndefinedBehaviorSanitizer
2017-01-01 21:29:38 +01:00
Benoit Blanchon
c5388cf8e7
Travis: Compile all examples with PlatformIO
2016-12-28 20:23:27 +01:00
Benoit Blanchon
cb908a2373
Travis: Fixed SSL error problem with coveralls
2016-12-28 20:22:07 +01:00
Benoit Blanchon
cecbcd1929
Added operator == to compare JsonVariant and strings (issue #402 )
2016-12-23 14:45:32 +01:00
Benoit Blanchon
45bbf6db86
Set version to 5.7.3
2016-12-10 16:00:52 +01:00
Benoit Blanchon
432476c98a
Added an printTo(char[N]) and prettyPrintTo(char[N]) (issue #292 )
2016-12-10 15:59:48 +01:00
Benoit Blanchon
1f3e227a8b
Added ability to set a nested value like this: root["A"]["B"] = "C" (issue #352 )
2016-12-10 15:22:57 +01:00
Benoit Blanchon
66c28020c5
Renamed *.ipp to *Impl.hpp because they were ignored by Arduino IDE (issue #396 )
2016-12-03 22:19:11 +01:00
Benoit Blanchon
6cfe2a58eb
Added Doanh Luong to the list of donators
2016-11-25 18:41:33 +01:00
Benoit Blanchon
fc6ad51e68
Added the workaround for issue #118 in StringExample.ino
2016-11-24 18:11:02 +01:00
Benoit Blanchon
d3bc52951a
Set version to 5.7.2
2016-11-23 21:54:56 +01:00
Benoit Blanchon
2f7232859e
Fixed PROGMEM causing an exception on ESP8266 (issue #383 )
2016-11-23 21:53:29 +01:00
Benoit Blanchon
4a7232ac99
Added DynamicJsonBuffer to the keywords
2016-11-23 21:25:49 +01:00
Benoit Blanchon
72d78432c9
Made PROGMEM available on more platforms (issue #381 )
2016-11-16 22:24:58 +01:00
Benoit Blanchon
f6cd42d916
Travis: Added Arduino 1.6.12, removed 1.5.8
2016-11-16 22:24:41 +01:00
Benoit Blanchon
542dff2a08
Added Andrew Melvin to the list of donators
2016-11-15 21:48:40 +01:00
Benoit Blanchon
e75e843c88
Moved JsonBuffer size calculator to https://bblanchon.github.io/ArduinoJson/
2016-11-13 20:48:03 +01:00
Benoit Blanchon
146a76247c
Set version to 5.7.1
2016-11-13 20:21:16 +01:00
Benoit Blanchon
f28157cab7
Fixed compilation error when index is not an int (issue #381 )
2016-11-13 20:19:36 +01:00
Benoit Blanchon
1ce16ce449
Added support for PROGMEM (issue #76 )
2016-11-13 20:16:12 +01:00
Benoit Blanchon
c310e7e8b7
Set version to 5.7.0
2016-11-06 17:52:57 +01:00
Benoit Blanchon
aa2ef79e55
Templatized all functions using String or std::string
...
* Removed `ArduinoJson::String`
* Removed `JsonVariant::defaultValue<T>()`
* Removed non-template `JsonObject::get()` and `JsonArray.get()`
* Fixed support for `StringSumHelper` (issue #184 )
* Replaced `ARDUINOJSON_USE_ARDUINO_STRING` by `ARDUINOJSON_ENABLE_STD_STRING` and `ARDUINOJSON_ENABLE_ARDUINO_STRING` (issue #378 )
* Added example `StringExample.ino` to show where `String` can be used
2016-11-06 17:52:18 +01:00
Benoit Blanchon
7ad57f1c33
Added Yoeri Kroon to the list of donators
2016-10-27 15:19:13 +02:00
Benoit Blanchon
cbfd331e50
JsonBuffer calculator now generates more compact expression
2016-09-30 10:44:05 +02:00
Benoit Blanchon
e6f55b1f6f
Increased default nesting limit to 50 when compiled for a computer (issue #349 )
2016-09-21 22:11:38 +02:00