Make it possible to change basic, size compatible values.
This means that when re-parsing or re-serializing the parsed JSON these values will be output.
Boolean (true/false) and null values can be freely exchanged.
Numeric values (float, int, uint) can be exchanged freely.
Strings can also be exchanged with different values.
Strings and numbers can be exchanged. However, note that there is no checks for numbers inserted as object keys,
so if used for this invalid JSON is possible.
There is no way to modify objects, arrays, other than value types above inside each.
It is not possible to remove or add elements.
To replace a value, of value referenced by an Iter simply call SetNull, SetBool, SetFloat, SetInt, SetUInt,
SetString or SetStringBytes.
A clone function has been added to safely allow modifications of the same parsed json.
Make it possible to change basic, size compatible values.
This means that when re-parsing or re-serializing the parsed JSON these values will be output.
Boolean (true/false) and null values can be freely exchanged.
Numeric values (float, int, uint) can be exchanged freely.
Strings can also be exchanged with different values.
Strings and numbers can be exchanged. However, note that there is no checks for numbers inserted as object keys, so if used for this invalid JSON is possible.
There is no way to modify objects, arrays, other than value types above inside each. It is not possible to remove or add elements.
To replace a value, of value referenced by an
Iter
simply callSetNull
,SetBool
,SetFloat
,SetInt
,SetUInt
,SetString
orSetStringBytes
.A clone function has been added to safely allow modifications of the same parsed json.
Fixes #45