24件ヒット
[1-24件を表示]
(0.035秒)
検索結果
先頭2件
-
JSON
. # load(source , proc = nil , options = {}) -> object (7.0) -
与えられた JSON 形式の文字列を Ruby オブジェクトとしてロードして返します。
...る
# "a"
# 1
# "b"
# 2
# "c"
# 3
# {"a"=>1, "b"=>2, "c"=>3}
@param source JSON 形式の文字列を指定します。他には、to_str, to_io, read メソッドを持つオブジェクトも指定可能です。
@param proc Proc オブジェクトを指定します。
@param opti... -
JSON
. # restore(source , proc = nil , options = {}) -> object (7.0) -
与えられた JSON 形式の文字列を Ruby オブジェクトとしてロードして返します。
...る
# "a"
# 1
# "b"
# 2
# "c"
# 3
# {"a"=>1, "b"=>2, "c"=>3}
@param source JSON 形式の文字列を指定します。他には、to_str, to_io, read メソッドを持つオブジェクトも指定可能です。
@param proc Proc オブジェクトを指定します。
@param opti...