anchor.diff:  -compile(export_all).
   
   -define(JSONLIB, mochijson2).
  +
  +-type json_array() :: [json_term()].
  +
  +-type json_dict() :: [{binary() | atom(), json_term()}].
   
   -type json_term() ::
           null % null
  
positive.code:       | json_array() % array
          .
  
  -type json_array() = list(json_term()).
  
  -type json_dict() = [{binary() | atom(), json_term()}].
  
  -type json_text() :: iolist().
  
  -export_type([json_term/0,json_text/0]).
  
negative.code: decode(JsonString) ->
       ?JSONLIB:decode(JsonString).
  
  -spec encode(json_term()) -> json_text().
  encode(JsonErlang) ->
       ?JSONLIB:encode(JsonErlang).
  