0612eef69b
Marked strdup()
as deprecated (issue #658 )
2018-01-14 14:02:10 +01:00
ae0b7a3ebd
Changed the return type of strdup()
to const char*
(issue #658 )
2018-01-14 14:01:08 +01:00
e92612b511
Changed the rules of string duplication ( fixes #658 )
2018-01-14 13:46:28 +01:00
5c33fd4b94
Set copyright year to 2018
2018-01-05 09:20:01 +01:00
d3a1203782
Added JsonVariant::operator| to return a default value
2017-11-29 09:49:40 +01:00
221c2861fc
Changed all links to point to arduinojson.org
2017-11-07 20:42:50 +01:00
591fe7e92b
Fixed incorrect rounding for float values ( fixes #588 )
2017-10-17 10:19:21 +02:00
57defe00ee
Fixed DynamicJsonBuffer::clear()
not resetting allocation size ( fixes #561 )
2017-08-30 21:51:10 +02:00
d41f7a8165
Fixed too many decimals places in float serialization (issue #543 )
2017-07-14 10:51:46 +02:00
abfd3997eb
Fixed "constant exceeds range of float [-Woverflow]" (issue #544 )
2017-07-09 15:24:58 +02:00
476e5aaa86
Added DynamicJsonBuffer::clear()
2017-06-17 16:48:40 +02:00
789fa507b5
Added StaticJsonBuffer::clear()
2017-06-17 15:00:46 +02:00
508f936317
Made JsonBuffer
non-copyable (PR #524 by @luisrayas3)
2017-06-17 14:17:01 +02:00
bff77abe6a
Fixed reading "true" as a float (issue #516 )
2017-06-03 16:22:26 +02:00
c955049207
Fixed IntelliSense errors in Visual Micro (issue #483 )
2017-05-28 15:33:03 +02:00
7415f206ea
Reduced code size
2017-05-27 15:08:11 +02:00
cda05aec04
Removed configurable number of decimal places (issues #288 , #427 and #506 )
2017-05-20 09:06:53 +02:00
cc66618e70
Fixed error forming reference to reference
(issue #495 )
2017-05-04 21:58:28 +02:00
9efc0ec40d
Travis: Added GCC 6
2017-05-02 21:32:19 +02:00
9afa05e2f4
Removed Print
class and converted printTo()
to a template method (issue #276 )
2017-04-22 11:33:40 +02:00
024976cda2
Renamed folder include/
to src/
(issue #461 )
2017-04-20 10:26:40 +02:00
df541a2a22
Changed unit testing framework from Google Test to Catch
2017-04-18 18:22:24 +02:00
f2ef338cb8
Renamed JsonArray::removeAt()
into remove()
2017-04-12 21:07:30 +02:00
8c6f64c111
Added JsonArray::remove(iterator)
and JsonObject::remove(iterator)
(issue #479 )
2017-04-12 21:00:13 +02:00
71edcaf20f
Split unit test into several executables
2017-04-10 15:36:59 +02:00
ac89d91db5
Organized test files in subfolders
2017-04-10 14:32:45 +02:00
adba668109
Updated project URL
2017-03-25 22:05:06 +01:00
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
c4567bac18
Added custom implementation of strtod()
(issue #453 )
2017-03-19 15:23:06 +01:00
31827d03f9
Added operators ==
and !=
for two JsonVariant
s (issue #436 )
2017-02-11 15:06:17 +01:00
db9a76f7c6
Fixed an access violation in DynamicJsonBuffer
when memory allocation fails (issue #433 )
2017-01-31 10:06:40 +01:00
5fefeae404
Added deprecated
attribute on asArray()
, asObject()
and asString()
(issue #420 )
2017-01-22 17:24:17 +01:00
d4f725d1fa
Fixed error with string of type unsigned char*
(issue #428 )
2017-01-22 15:42:47 +01:00
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
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
17a17c8957
Fixed parsing of comments (issue #421 )
2017-01-17 21:48:13 +01:00
8499f0b960
Fixed errors with Variable Length Arrays (issue #416 )
2017-01-15 15:11:26 +01:00
11432253a1
Fixed error when assigning a volatile int
to a JsonVariant
(issue #415 )
2017-01-11 10:17:27 +01:00
671329a3e9
Updated copyright year from 2016 to 2017
2017-01-06 21:07:34 +01:00
55669e306e
Added support for Stream
(issue #300 )
2017-01-03 22:03:50 +01:00
3f96e070ce
Reduced memory consumption by not duplicating spaces and comments
2017-01-01 21:30:20 +01:00
8032a4b564
Extracted StringReader
and StringWriter
from JsonParser
...
Split `Internals/` folder into `Data/`, `Deserialization/`, `Serialization/`
2017-01-01 21:30:20 +01:00
b923e8f4df
Travis: Added Clang AddressSanitizer and UndefinedBehaviorSanitizer
2017-01-01 21:29:38 +01:00
cecbcd1929
Added operator ==
to compare JsonVariant
and strings (issue #402 )
2016-12-23 14:45:32 +01:00
432476c98a
Added an printTo(char[N])
and prettyPrintTo(char[N])
(issue #292 )
2016-12-10 15:59:48 +01:00
1f3e227a8b
Added ability to set a nested value like this: root["A"]["B"] = "C"
(issue #352 )
2016-12-10 15:22:57 +01:00
f28157cab7
Fixed compilation error when index is not an int
(issue #381 )
2016-11-13 20:19:36 +01:00
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
e6f55b1f6f
Increased default nesting limit to 50 when compiled for a computer (issue #349 )
2016-09-21 22:11:38 +02:00
deb57b960b
Fixed parser that incorrectly rejected floats containing a +
(issue #349 )
2016-09-19 10:08:14 +02:00