Releases: NathanReb/ppx_yojson
Releases · NathanReb/ppx_yojson
1.3.0
CHANGES:
Added
- Add support for
[@as "field_name"]
attribute to allow forbidden
ocaml record field names, such as capitalized words, to be used as JSON
objects field names (#40, @mefyl)
Changed
- Ignore leading underscores in object field names allowing use
of ocaml keywords such as type
or object
as JSON objects field names
(#40, @mefyl)
1.2.0
CHANGES:
Added
- Support
%ezjsonm
extension to output Ezjsonm-compatible values.
(#31, @mefyl)
- Add generic antiquotation syntax
[%aq ...]
(#32, @NathanReb)
0.2.0
CHANGES:
2018-12-04
Additions
- Add an extension to write Yojson patterns
- Add anti-quotations
[%y expr]
in expression extension
- Add support for
int32
, int64
and nativeint
payloads
Fixes
- Improve error's loc for unsupported int literals in expression extension's payload
0.1.0
CHANGES:
2018-10-04
Initial release