11件ヒット
[1-11件を表示]
(0.555秒)
トップページ > :Class#new > :extend > :yaml_tag > :marshal_dump > :inspect > :NEWS for Ruby 2.6.0 > クラス:JSON::State
ライブラリ
- json (11)
検索結果
-
JSON
:: State . new(options = {}) -> JSON :: State (18132.0) -
自身を初期化します。
...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 # => JSON::Ext::G...