JSON for Ruby

码农软件 · 软件分类 · JSON/BSON开发包 · 2019-04-02 12:28:23

软件介绍

这是一个 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

本文地址:https://www.codercto.com/soft/d/2693.html

Hacker's Delight

Hacker's Delight

Henry S. Warren Jr. / Addison-Wesley / 2002-7-27 / USD 59.99

A collection useful programming advice the author has collected over the years; small algorithms that make the programmer's task easier. * At long last, proven short-cuts to mastering difficult aspec......一起来看看 《Hacker's Delight》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

在线进制转换器
在线进制转换器

各进制数互转换器

随机密码生成器
随机密码生成器

多种字符组合密码