11件ヒット
[1-11件を表示]
(0.033秒)
検索結果
-
JSON
. create _ id=(identifier) (19.0) -
json_create メソッドで使用するクラスを決定するために使用する値をセットします。
...json"
require "json/add/core"
JSON.create_id # => "json_class"
puts (1..5).to_json # => {"json_class":"Range","a":[1,5,false]}
JSON.create_id = "my_json_class" # => "my_json_class"
JSON.create_id # => "my_json_class"
puts (1..5).to_json...