1件ヒット
[1-1件を表示]
(0.026秒)
検索結果
-
JSON
. create _ id=(identifier) (70.0) -
json_create メソッドで使用するクラスを決定するために使用する値をセットします。
json_create メソッドで使用するクラスを決定するために使用する値をセットします。
@param identifier 識別子を指定します。
//emlist[例][ruby]{
require "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" # ...