A wrapper for various JSON implementations.
Add :jxon
to the list of dependencies in mix.exs
:
def deps do
[
{:jxon, <requirement>}
]
end
For more information, see the documentation.
As stated in Erlang/OTP 26.0 Release Note:
Some map operations have been optimized by changing the internal sort order of atom keys. This changes the (undocumented) order of how atom keys in small maps are printed and returned. The new order is unpredictable and may change between different invocations of the Erlang VM.
Because of that, don't rely on the order of map keys.
Inspired by the json_module
of jose.