Skip to content

alexchang8/gen_yojson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gen_yojson

gen_yojson is a command-line and web utility for generating ocaml types based on a JSON object. The types are annotated with ppx_deriving_yojson to automatically generate serializers and deserializers using yojson. This project was inspired by MakeTypes for TypeScript.

A web version, made possible with jsoo is available at: https://alexchang8.github.io/gen_yojson/

TODO:

  • some better names (i.e. elements)
  • keys with spaces have field name changed, but are not annotated w/ @key

About

generates ocaml types from a json object

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages