anchor.diff:  decode_term(Term, Type) ->
       error({invalid_json_structure, Term, Type}).
   
  -%%%===================================================================
  -%%% Internal functions
  -%%%===================================================================
  -
   %%--------------------------------------------------------------------
   %% @private
   %% @doc
  
positive.code: decode(EJson) ->
      EJson.
  
  %%--------------------------------------------------------------------
  %% @doc
  %% Encodes an erlang term to erlang json format with given structure.
  %% @end
  
negative.code:     error({invalid_term_structure, Term, Type}).
  
  %%--------------------------------------------------------------------
  %% @private
  %% @doc
  %% Decodes an erlang term from erlang json format with given structure.
  %% @end
  