% erl-json changelog
- Add optional indentation for serialization.
- Add optional formatting for serialization.
- Add support for integer minimum and maximum values.
- Add the
json:array/0
andjson:object/0
types. - Add error formatting functions.
- Reject non-escaped control characters as required by RFC 8259.
- Reject invalid UTF-8 sequences.
- Remove the extra space before object values in the serializer.
- Make the parser about 7.5 times faster (tested on the Kubernetes OpenAPI schema: 5.3MB, 100+k lines).
- Add
json_pointer:parent/1
andjson_pointer:child/2
. - Add custom serializers for values of the form
{Type, Value}
. - Accept binaries, atoms and strings as object keys.
- Replace
json_pointer:eval/2
andjson_pointer:eval_pointer/2
byjson_pointer:find/2
,json_pointer:insert/2
andjson_pointer:replace/2
. These three functions accept both a binary JSON pointer or a parsed JSON pointer. - Introduce support for JSON Patch.
- JSON Pointer support.
- JSON strings are now always parsed as UTF-8 encoded binaries.
First public version.