slippers v0.1.0 Slippers.JSON

JSON encode/decode wrapper module. It’s separated to isolate the code affected by differences between the JSON libraries.

Summary

Functions

Decode json string into elixir objects

Decode json string into elixir objects

Encode elixir objects in json string

Encode elixir objects in json string

Get elixir object for the specified key. Some libraries returns as tuples, and some returns HashDict

Functions

decode(json)

Decode json string into elixir objects.

decode!(json)

Decode json string into elixir objects.

encode(json)

Encode elixir objects in json string.

encode!(json)

Encode elixir objects in json string.

get(object, key)

Get elixir object for the specified key. Some libraries returns as tuples, and some returns HashDict.