2件ヒット
[1-2件を表示]
(0.301秒)
種類
- インスタンスメソッド (1)
- 特異メソッド (1)
ライブラリ
- json (2)
検索結果
-
JSON
:: State # buffer _ initial _ length -> Integer (54655.0) -
This integer returns the current initial length of the buffer.
This integer returns the current initial length of the buffer. -
JSON
:: State . new(options = {}) -> JSON :: State (340.0) -
自身を初期化します。
...by]{
require "json"
json_state = JSON::State.new(indent: "\t")
json_state.class # => JSON::Ext::Generator::State
json_state.indent # => "\t"
//}
//emlist[例 JSON::State を指定][ruby]{
require "json"
json_state = JSON::State.new(indent: "\t")
copy = JSON::State.new(json_state)
copy.class # =...