Skip to content

cozy-elixir/jxon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Languages