Current section
Files
Jump to
Current section
Files
src/simplejson.erl
-module(simplejson).
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch]).
-export([parse/1, to_string/1]).
-file("/Users/gareth/Development/gleam/simplejson/src/simplejson.gleam", 26).
-spec parse(binary()) -> {ok, simplejson@jsonvalue:json_value()} |
{error, simplejson@jsonvalue:parse_error()}.
parse(Json) ->
simplejson@internal@parser:parse(Json).
-file("/Users/gareth/Development/gleam/simplejson/src/simplejson.gleam", 39).
-spec to_string(simplejson@jsonvalue:json_value()) -> binary().
to_string(Json) ->
simplejson@internal@stringify:to_string(Json).