Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 1.11 KB

README.md

File metadata and controls

40 lines (24 loc) · 1.11 KB

JXON

CI Hex.pm

A wrapper for various JSON implementations.

Installation

Add :jxon to the list of dependencies in mix.exs:

def deps do
  [
    {:jxon, <requirement>}
  ]
end

Usage

For more information, see the documentation.

Traps

The order of map keys

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.

Thanks

Inspired by the json_module of jose.

License

Apache License 2.0