6件ヒット
[1-6件を表示]
(0.078秒)
ライブラリ
- json (6)
キーワード
- []= (1)
-
buffer
_ initial _ length= (1) - depth= (1)
-
quirks
_ mode= (1) -
to
_ h (1) -
to
_ hash (1)
検索結果
先頭5件
-
JSON
:: State # to _ h -> Hash (18331.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 (18331.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) (55.0) -
Set the attribute name to value.
Set the attribute name to value. -
JSON
:: State # buffer _ initial _ length=(length) (55.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) (55.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) (55.0) -
If set to true, enables the quirks_mode mode.
If set to true, enables the quirks_mode mode.