1
%% ***** BEGIN LICENSE BLOCK *****
2
%% Copyright (c) 2011-2012 VMware, Inc.
4
%% For the license see COPYING.
5
%% ***** END LICENSE BLOCK *****
9
-export([encode/1, decode/1]).
11
%% --------------------------------------------------------------------------
13
%% -spec encode(any()) -> iodata().
15
mochijson2_fork:encode(Thing).
17
%% -spec decode(iodata()) -> {ok, any()} | {error, any()}.
19
try mochijson2_fork:decode(Encoded) of