Skip to content

Releases: NathanReb/ppx_yojson

1.3.0

08 Sep 08:53
Compare
Choose a tag to compare

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

28 Feb 15:35
Compare
Choose a tag to compare

CHANGES:

Added

  • Support %ezjsonm extension to output Ezjsonm-compatible values.
    (#31, @mefyl)
  • Add generic antiquotation syntax [%aq ...] (#32, @NathanReb)

1.1.0

21 Oct 12:34
Compare
Choose a tag to compare

CHANGES:

Added

1.0.0

10 Sep 13:04
Compare
Choose a tag to compare

CHANGES:

Additions

  • Add anti-quotations [%y? pat] in pattern extension (#18, @noRubidium)

0.2.0

04 Dec 13:12
Compare
Choose a tag to compare

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

04 Oct 10:46
Compare
Choose a tag to compare

CHANGES:

2018-10-04

Initial release