View Source Jeson (jeson v0.1.0)

Documentation for Jeson.

Summary

Functions

parse(data) receive binary data and return {:ok, @json_value} | {:error, String}

Functions

@spec parse(binary()) :: {:ok, any()} | {:error, String.t()}

parse(data) receive binary data and return {:ok, @json_value} | {:error, String}

Examples

iex> data = ~s({"obj": {"neste": true}})
iex> Jeson.parse(data)