Browse Source

README.mdを微修正

Takeru Ohta 11 years ago
parent
commit
0d20739175
1 changed files with 2 additions and 2 deletions
  1. 2 2
      README.md

+ 2 - 2
README.md

@@ -41,10 +41,10 @@ API
 ```erlang
 %% デコード
 > jsone:decode(<<"[1,2,3]">>).
-{[1,2,3],<<>>}                  % 返り値は {デコード結果, 未使用バイナリ} 形式
+[1,2,3]
 
 > json:decode(<<"{\"1\":2}">>).
-{{[{<<"1">>,2}]},<<>>}   % オブジェクトは {object, [Key, Value]} 形式にデコードされる
+{[{<<"1">>,2}]}   % オブジェクトは {[Key, Value]} 形式にデコードされる
 
 %% エンコード
 > jsone:encode([1,2,3]).