Skip to content

An Elixir Module that wraps the Erlang jiffy library.

License

Notifications You must be signed in to change notification settings

probably-not/jiffy_ex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JiffyEx

An Elixir Module that wraps the Erlang jiffy library.

Provides encode!/1, encode!/2, encode/1, encode/2, decode!/1, decode!/2, decode/1, decode/2 functions for encoding and decoding JSON values.

NOTE: The jiffy functions by default all raise exceptions, so by definition the encode! and decode! functions will be faster as they are not wrapped in try/rescue clauses in order to catch any errors that come out of the jiffy library.

Installation

If available in Hex, the package can be installed by adding jiffy_ex to your list of dependencies in mix.exs:

def deps do
  [
    {:jiffy_ex, "~> 1.1"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/jiffy_ex.

About

An Elixir Module that wraps the Erlang jiffy library.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages