72件ヒット
[1-72件を表示]
(0.037秒)
ライブラリ
- json (72)
キーワード
- []= (12)
-
buffer
_ initial _ length= (12) - depth= (12)
-
quirks
_ mode= (12) -
to
_ h (12) -
to
_ hash (12)
検索結果
先頭5件
-
JSON
:: State # to _ h -> Hash (6109.0) -
自身をハッシュに変換します。
...自身をハッシュに変換します。
//emlist[例][ruby]{
require "json"
require "pp"
json_state = JSON::State.new
pp json_state.to_h
# => {:indent=>"",
# :space=>"",
# :space_before=>"",
# :object_nl=>"",
# :array_nl=>"",
# :allow_nan=>false,
# :ascii_only=>false,... -
JSON
:: State # to _ hash -> Hash (6109.0) -
自身をハッシュに変換します。
...自身をハッシュに変換します。
//emlist[例][ruby]{
require "json"
require "pp"
json_state = JSON::State.new
pp json_state.to_h
# => {:indent=>"",
# :space=>"",
# :space_before=>"",
# :object_nl=>"",
# :array_nl=>"",
# :allow_nan=>false,
# :ascii_only=>false,... -
JSON
:: State # []=(name , value) (17.0) -
Set the attribute name to value.
...Set the attribute name to value.... -
JSON
:: State # buffer _ initial _ length=(length) (17.0) -
This sets the initial length of the buffer to length, if length > 0, otherwise its value isn't changed.
...This sets the initial length of the buffer to length, if length > 0,
otherwise its value isn't changed.... -
JSON
:: State # depth=(depth) (17.0) -
This sets the maximum level of data structure nesting in the generated JSON to the integer depth, max_nesting = 0 if no maximum should be checked.
...This sets the maximum level of data structure nesting in the generated
JSON to the integer depth, max_nesting = 0 if no maximum should be
checked.... -
JSON
:: State # quirks _ mode=(enable) (17.0) -
If set to true, enables the quirks_mode mode.
...If set to true, enables the quirks_mode mode....