Hacker News new | ask | show | jobs
by shakna 3247 days ago
Yojson [0] provides a generic way to read JSON in OCaml. Mostly by pre-defining a type that contains any valid json value.

[0] https://github.com/mjambon/yojson

1 comments

Right, there are some various approaches but I've had a few OCaml users tell me there were some reasons why they weren't/couldn't be used on the front end, sadly. Would really like to see some demos otherwise though