anchor.diff:  %%
   %% @end
   decode_test() ->
  -    Json1 = 
  -	"{"
  -	"\"name\":\"Name1\","
  -	"\"friends\": ["
  -	"{\"name\":\"FriendName1\", \"nickname\":\"NickName1\"},"
  -	"{\"name\":\"FriendName2\", \"nickname\":[\"NickName2\", \"NickName3\"]}"
  -	"]"
  -	"}",
  -    Result1 = [{"name","Name1"},
  -	       {"friends",[
  -			   [{"name","FriendName1"},{"nickname","NickName1"}],
  -			   [{"name","FriendName2"},{"nickname",["NickName2","NickName3"]}]
  -			  ]
  -	       }
  -	      ],
  -
  -    ?assertEqual(Result1, lib_json:decode({pretty, Json1})).
  +    ?assertEqual(?DECODE_RESULT1, lib_json:decode({pretty, ?JSON1})).
   
   %% @doc
   %% Function: encode_decode_test/0
  
positive.code: %%
  %% @end
  encode_test() ->
      Json1 = 
  	"{"
  	"\"name\":\"Name1\","
  	"\"friends\": ["
  	"{\"name\":\"FriendName1\", \"nickname\":\"NickName1\"},"
  	"{\"name\":\"FriendName2\", \"nickname\":[\"NickName2\", \"NickName3\"]}"
  	"]"
  	"}",
  
      Json2 = 
  	{{name, "Name1"},
  	 {friend, [{{name, "FriendName1"}, {nickname, "NickName1"}},
  
negative.code: 	"{"
  	"\"name\":\"Name1\","
  	"\"friend\": ["
  	++ ?JSON_STRUCT([{name, {s, "FriendName1"}}, {nickname, {s, "NickName1"}}]) ++ ","	
  	++ ?JSON_STRUCT([{name, {s, "FriendName2"}}, {nickname, {l, ["NickName2", "NickName3"]}}]) ++ ","
  	++ ?JSON_STRUCT([{name, {s, "FriendName3"}}, {nickname, {l, ["NickName4", "NickName5"]}}]) ++	
  	"]"
  	"}",
  
      Json2 = 
  	"{"
  	"\"name\":\"Name1\","
  	"\"friend\": " ++ ?JSON_STRUCT([{name, {s, "FriendName2"}}, {nickname, {l, ["NickName2", "NickName3"]}}]) ++	
  	"}",
  
      ?assertEqual(?JSON1, Json1),
      ?assertEqual(?JSON2, Json2).
  