JSON decoding/encoding module.
json_array() = [json_value()]
json_boolean() = boolean()
json_number() = number()
json_object() = {object, json_object_members()}
json_object_members() = [{json_string(), json_value()}]
json_string() = binary()
json_value() = json_number() | json_string() | json_array() | json_object() | json_boolean() | null
decode/1 | JSONバイナリをデコードする. |
encode/1 | JSON値をiodata形式にエンコードする. |
decode(Json::binary()) -> {json_value(), RestJson::binary()}
JSONバイナリをデコードする.
デコードに失敗した場合はエラーが送出される
encode(JsonValue::json_value()) -> iodata()
JSON値をiodata形式にエンコードする.
エンコードに失敗した場合はエラーが送出される