るりまサーチ (Ruby 3.2)

最速Rubyリファレンスマニュアル検索!
3件ヒット [1-3件を表示] (0.049秒)
トップページ > クエリ:Integer[x] > クエリ:>[x] > バージョン:3.2[x] > クエリ:int[x] > クラス:JSON::State[x]

別のキーワード

  1. openssl integer
  2. asn1 integer
  3. _builtin integer
  4. integer downto
  5. integer digits

ライブラリ

キーワード

検索結果

JSON::State#buffer_initial_length -> Integer (955.0)

This integer returns the current initial length of the buffer.

This integer returns the current initial length of the buffer.

JSON::State#depth -> Integer (955.0)

This integer returns the current depth of data structure nesting.

This integer returns the current depth of data structure nesting.

JSON::State#max_nesting -> Integer (907.0)

生成される JSON 形式の文字列のネストの深さの最大値を返します。

...json_state = JSON::State.new(max_nesting: 2)
json_state.max_nesting # => 2
JSON.generate([[]], json_state)
JSON.generate([[[]]], json_state) # => JSON::NestingError
//}

//emlist[例 ネストの深さチェックを行わない][ruby]{
require "json"

json_state = JSON::State.new(max_nes...