JSON for Ruby
这是一个 Ruby 语言用来操作 JSON 格式数据的程序库。
安装方法:gem install json
代码示例:
class Range
def to_json(*a)
{
'json_class' => self.class.name,
'data' => [ first, last, exclude_end? ]
}.to_json(*a)
end
def self.json_create(o)
new(*o['data'])
end
end
JSON:JavaScript Object Notation
评论
JSON ParserjQuery的JSON插件
ThispluginmakesitsimpletoconverttoandfromJSON.MostpeopleaskedmewhyIwouldwanttodosuchathing,whichbogg
JSON ParserjQuery的JSON插件
0
JSON Patch
JSONPatch是一个用来描述JSON文档变化的格式,它本身也是JSON文档。可与HTTPPATCHmethod合并使用。JSONPatch在IETF中规范是RFC6902。JSONPatch包括多
JSON Patch
0
Stringtree JSON
StringtreeJSON是一个小型可靠简洁的Java的JSON读写和验证的类库。无需依赖其他第三方库。整个jar包只有13kb。示例代码:import org.stringtree.json.JS
Stringtree JSON
0