NathanReb / ppx_yojson

OCaml PPX extension for JSON literals and patterns
BSD 2-Clause "Simplified" License
42 stars 5 forks source link

Handle int32, int64 and nativeint payloads #14

Closed NathanReb closed 5 years ago

NathanReb commented 5 years ago

Fixes #11

They are handled in the same way ppx_deriving_yojson handles such values ie always interpreted as Intlit. This is particularly useful when writing test code for parsers.