michalmuskala / jason

A blazing fast JSON parser and generator in pure Elixir.
Other
1.61k stars 169 forks source link

Document Jason.Fragment #166

Closed thbar closed 1 year ago

thbar commented 1 year ago

Jason.Fragment is very well named but lacks a bit of documentation.

It has helped me create JSON which is partly generated by Elixir, partly generated by Postgres jsonb_agg (highly optimised), and it has also been used for caching by some.

In this PR I add a bit of testing, documentation on the readme and on the module.

Thanks @michalmuskala for mentioning this on Slack today.

(feel free to modify whatever you see fit, this is just a first attempt).

michalmuskala commented 1 year ago

Thank you! :heart: