424件ヒット
[1-100件を表示]
(0.100秒)
別のキーワード
ライブラリ
- ビルトイン (24)
- json (312)
- observer (12)
- openssl (12)
-
ripper
/ lexer (16) -
rubygems
/ user _ interaction (48)
クラス
-
Encoding
:: Converter (12) -
Gem
:: StreamUI (48) -
JSON
:: State (204) -
OpenSSL
:: SSL :: SSLSocket (12) - Random (12)
-
Ripper
:: Lexer (16)
モジュール
-
JSON
:: Generator :: GeneratorMethods :: Array (12) -
JSON
:: Generator :: GeneratorMethods :: FalseClass (12) -
JSON
:: Generator :: GeneratorMethods :: Float (12) -
JSON
:: Generator :: GeneratorMethods :: Hash (12) -
JSON
:: Generator :: GeneratorMethods :: Integer (12) -
JSON
:: Generator :: GeneratorMethods :: NilClass (12) -
JSON
:: Generator :: GeneratorMethods :: Object (12) -
JSON
:: Generator :: GeneratorMethods :: String (12) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (12) - Observable (12)
キーワード
- alert (12)
-
alert
_ error (12) -
alert
_ warning (12) -
array
_ nl (12) -
buffer
_ initial _ length (12) -
buffer
_ initial _ length= (12) - changed (12)
- configure (12)
- depth (12)
- generate (12)
- indent (12)
- indent= (12)
-
insert
_ output (12) - lex (8)
-
max
_ nesting (12) -
max
_ nesting= (12) - merge (12)
-
object
_ nl (12) -
object
_ nl= (12) - parse (8)
- say (12)
- space (12)
- space= (12)
-
space
_ before (12) -
space
_ before= (12) -
to
_ json (108)
検索結果
先頭5件
-
OpenSSL
:: SSL :: SSLSocket # state -> String (18202.0) -
現在の状態をアルファベット 6 文字の文字列で返します。
現在の状態をアルファベット 6 文字の文字列で返します。 -
Random
# state -> Integer (18202.0) -
C言語レベルで定義されている構造体MTの状態を参照します。詳しくはrandom.c を参照してください。
C言語レベルで定義されている構造体MTの状態を参照します。詳しくはrandom.c を参照してください。 -
JSON
:: Generator :: GeneratorMethods :: Integer # to _ json(state _ or _ hash = nil) -> String (9220.0) -
自身から生成した JSON 形式の文字列を返します。
...成した JSON 形式の文字列を返します。
@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指... -
JSON
:: State # buffer _ initial _ length=(length) (9201.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 # configure(options = {}) -> self (9155.0) -
与えられたハッシュで自身を設定します。
...については JSON::State.new を参照してください。
@param options このオブジェクトの設定をするためのハッシュを指定します。
//emlist[例][ruby]{
require "json"
json_state = JSON::State.new(indent: "\t")
json_state.indent # => "\t"
JSON.generate({key1: "value......1", key2: "value2"}, json_state)
# => "{\t\"key1\":\"value1\",\t\"key2\":\"value2\"}"
json_state.configure(indent: " ")
json_state.indent # => " "
JSON.generate({key1: "value1", key2: "value2"}, json_state)
# => "{ \"key1\":\"value1\", \"key2\":\"value2\"}"
//}
@see JSON::State.new... -
JSON
:: State # max _ nesting -> Integer (9155.0) -
生成される 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_nesting......: 0)
json_state.max_nesting # => 0
JSON.generate([[[[[[[[[[]]]]]]]]]], json_state)
//}... -
JSON
:: State # merge(options = {}) -> self (9155.0) -
与えられたハッシュで自身を設定します。
...については JSON::State.new を参照してください。
@param options このオブジェクトの設定をするためのハッシュを指定します。
//emlist[例][ruby]{
require "json"
json_state = JSON::State.new(indent: "\t")
json_state.indent # => "\t"
JSON.generate({key1: "value......1", key2: "value2"}, json_state)
# => "{\t\"key1\":\"value1\",\t\"key2\":\"value2\"}"
json_state.configure(indent: " ")
json_state.indent # => " "
JSON.generate({key1: "value1", key2: "value2"}, json_state)
# => "{ \"key1\":\"value1\", \"key2\":\"value2\"}"
//}
@see JSON::State.new... -
JSON
:: State # max _ nesting=(depth) (9143.0) -
生成される JSON 形式の文字列のネストの深さの最大値をセットします。
...せん。
//emlist[例][ruby]{
require "json"
json_state = JSON::State.new(max_nesting: 2)
json_state.max_nesting # => 2
JSON.generate([[]], json_state)
json_state.max_nesting = 3
json_state.max_nesting # => 3
JSON.generate([[[[]]]], json_state) # => JSON::NestingError
//}... -
JSON
:: State # buffer _ initial _ length -> Integer (9101.0) -
This integer returns the current initial length of the buffer.
...This integer returns the current initial length of the buffer....