|
bc2ce178ea
|
Added JsonVariant::clear()
|
2019-02-25 11:44:22 +01:00 |
|
|
e22e62d184
|
Added JsonDocument::size()
|
2019-02-25 11:07:01 +01:00 |
|
|
4181de119c
|
Detect IncompleteInput in false , true , and null
|
2019-02-18 16:18:11 +01:00 |
|
|
56bf24e1ec
|
Fixed JsonVariant::isNull() not returning true after set((char*)0)
|
2019-02-18 16:04:51 +01:00 |
|
|
e9b4c6289b
|
Disambiguated the name get() with getElement() and getMember()
|
2019-02-15 15:53:53 +01:00 |
|
|
7ed92bebd3
|
Converted JsonArray::copyFrom()/copyTo() to free functions copyArray()
|
2019-02-15 15:33:04 +01:00 |
|
|
c3f71c1a99
|
Updated copyright year to 2019
|
2019-02-15 13:32:04 +01:00 |
|
|
7050ef675d
|
Decode escaped Unicode characters like \u00DE (issue #304, PR #791)
|
2019-02-15 13:29:30 +01:00 |
|
|
070cd5b6c0
|
Added more tests of JsonVariant::is<T>()
|
2019-02-01 11:28:27 +01:00 |
|
|
b184af6d00
|
User can now use a JsonString as a key or a value
|
2019-01-29 17:00:11 +01:00 |
|
|
6f55d1e58f
|
JsonVariant automatically promotes to JsonObject or JsonArray on write
|
2019-01-29 14:09:09 +01:00 |
|
|
70739f5cfd
|
Reduced the size of the pretty JSON serializer
|
2019-01-23 18:19:24 +01:00 |
|
|
933a66a070
|
Added JsonDocument::operator[]
|
2019-01-23 11:43:29 +01:00 |
|
|
4167b11434
|
Create or assign a JsonDocument from a JsonArray/JsonObject/JsonVariant
|
2019-01-23 10:47:20 +01:00 |
|
|
2a3b51ac3a
|
Fixed uninitialized variant in JsonDocument
|
2019-01-20 14:35:22 +01:00 |
|
|
e633292df1
|
Replaced JsonDocument::nestingLimit with a param to deserializeJson()
|
2019-01-19 14:45:16 +01:00 |
|
|
30b94493bb
|
Added nesting() to JsonArray, JsonDocument, JsonObject, and JsonVariant
|
2019-01-17 09:55:51 +01:00 |
|
|
c51cc91f92
|
Added memoryUsage() to JsonArray, JsonObject, and JsonVariant
|
2019-01-16 09:50:57 +01:00 |
|
|
9ac2ac303c
|
Removed default capacity of DynamicJsonDocument
|
2019-01-14 10:32:19 +01:00 |
|
|
e20c47c57b
|
DynamicJsonDocument reallocates memory pool is it's too small
|
2018-12-07 10:38:58 +01:00 |
|
|
b77b203935
|
Extracted VariantData and CollectionData classes
|
2018-12-07 09:16:58 +01:00 |
|
|
aaf0d5c3c5
|
Renamed and moved internal files
|
2018-11-30 17:53:54 +01:00 |
|
|
04e8acd844
|
Store offset between slots to reduce memory usage
|
2018-11-30 14:28:00 +01:00 |
|
|
41b2e629f7
|
Increased test coverage
|
2018-11-30 14:27:35 +01:00 |
|
|
a60162ba76
|
Removed the indirection via StringSlot
|
2018-11-30 14:27:35 +01:00 |
|
|
45f4e5ac20
|
Restored the monotonic allocator
|
2018-11-30 14:27:33 +01:00 |
|
|
2bd280df80
|
Removed the automatic expansion of DynamicJsonDocument
|
2018-11-16 10:26:59 +01:00 |
|
|
0a97d4c825
|
Added DeserializationError::code() to be used in switch statements (closes #846)
|
2018-11-13 14:31:53 +01:00 |
|
|
5eee947ffe
|
Increased test coverage of MessagePack serialization
|
2018-11-12 21:36:39 +01:00 |
|
|
720e6548c7
|
Replacing a value now releases the memory
|
2018-11-12 18:28:34 +01:00 |
|
|
f375459d53
|
JsonArray::remove() and JsonObject::remove() now release the memory of strings
|
2018-11-09 18:20:57 +01:00 |
|
|
d8d939660b
|
JsonArray::remove() and JsonObject::remove() now release the memory of the variant
|
2018-10-19 19:40:21 +02:00 |
|
|
ae089dcff7
|
Merged the two StringBuilder classes into one
|
2018-10-18 17:54:33 +02:00 |
|
|
1a4515c0b9
|
Removed JsonArray::is<T>(i) and JsonArray::set(i,v)
Removed `JsonObject::is<T>(k)` and `JsonObject::set(k,v)`
Replaced `T JsonArray::get<T>(i)` with `JsonVariant JsonArray::get(i)`
Replaced `T JsonObject::get<T>(k)` with `JsonVariant JsonObject::get(k)`
|
2018-10-18 14:51:02 +02:00 |
|
|
84f199f0dd
|
Added copy-constructor and copy-assignment-operator for JsonDocument (issue #827)
|
2018-10-13 13:21:30 +02:00 |
|
|
02d809f3f4
|
Added Visitable to reduce the number of definitions of operator<<
|
2018-10-12 17:59:50 +02:00 |
|
|
b0560cbd99
|
Added JsonArrayConst , JsonObjectConst , and JsonVariantConst
|
2018-10-12 12:00:27 +02:00 |
|
|
b11ad4077b
|
Merge branch 'master' into 6.x
|
2018-10-09 15:00:49 +02:00 |
|
|
0b3af166ae
|
Fixed JsonVariant::is<String>() (closes #763)
|
2018-10-06 17:21:16 +02:00 |
|
|
6b985b2d1f
|
Fixed object keys not being duplicated
|
2018-10-04 11:16:23 +02:00 |
|
|
527dc19794
|
Allow mixed configuration in compilation units (issue #809)
|
2018-10-02 16:54:05 +02:00 |
|
|
29e71cbb16
|
Added implicit conversion from JsonArray and JsonObject to JsonVariant
|
2018-10-01 12:55:40 +02:00 |
|
|
98c8e8e35a
|
Added a test for issue #808
|
2018-09-11 16:21:30 +02:00 |
|
|
b106b1ed14
|
Copy JsonArray and JsonObject, instead of storing pointers (fixes #780)
|
2018-09-11 16:06:08 +02:00 |
|
|
2998a55f0b
|
Renamed JsonBuffer to MemoryPool
|
2018-09-03 16:14:21 +02:00 |
|
|
6d290bd001
|
Fixed duplication of char*
|
2018-08-22 14:37:17 +02:00 |
|
|
7683667b3c
|
Fixed serializeJson(obj[key], dst) (closes #794)
|
2018-08-21 18:07:41 +02:00 |
|
|
9cbc891816
|
Implemented reference semantics for JsonVariant
|
2018-08-21 17:56:16 +02:00 |
|
|
2059d610a8
|
Fixed invalid application of 'sizeof' to incomplete type (closes #783)
|
2018-07-18 20:19:22 +02:00 |
|
|
6bb17d5896
|
Checked that issue issue #628 is fixed
|
2018-07-12 10:33:56 +02:00 |
|