package ppx_yojson
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=df1b4246969d6e1e2ff53c4c41a674c9653f214d93ad1421788ba55cf539266f
sha512=a4b5663ee2dec0c0fe0dc3e4f5ec59a1d23e057c1759c2433b45318c3a64f709e7e3ab91c98b9a4e1e5c9e3290a2772f5b7450ecf58f6280e52df033a60d877a
CHANGES.md.html
1.3.0
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
orobject
as JSON objects field names (#40, @mefyl)
1.2.0
Added
Support
%ezjsonm
extension to output Ezjsonm-compatible values. (#31, @mefyl)Add generic antiquotation syntax
[%aq ...]
(#32, @NathanReb)
1.1.0
Added
Make ppx_yojson fully compatible with 4.11 (#22, @NathanReb)
1.0.0
Additions
Add anti-quotations
[%y? pat]
in pattern extension (#18, @noRubidium)
0.2.0
2018-12-04
Additions
Add an extension to write Yojson patterns
Add anti-quotations
[%y expr]
in expression extensionAdd support for
int32
,int64
andnativeint
payloads
Fixes
Improve error's loc for unsupported int literals in expression extension's payload
0.1.0
2018-10-04
Initial release