ライブラリ
- ビルトイン (107)
- csv (11)
- json (418)
- observer (11)
- openssl (11)
- rake (11)
-
ripper
/ lexer (14) -
rubygems
/ user _ interaction (44)
クラス
- CSV (11)
-
Encoding
:: Converter (11) -
Enumerator
:: Lazy (55) -
Gem
:: StreamUI (44) - IO (11)
-
JSON
:: State (319) -
OpenSSL
:: SSL :: SSLSocket (11) -
Rake
:: Application (11) - Random (11)
-
Ripper
:: Lexer (14) - Thread (19)
モジュール
-
JSON
:: Generator :: GeneratorMethods :: Array (11) -
JSON
:: Generator :: GeneratorMethods :: FalseClass (11) -
JSON
:: Generator :: GeneratorMethods :: Float (11) -
JSON
:: Generator :: GeneratorMethods :: Hash (11) -
JSON
:: Generator :: GeneratorMethods :: Integer (11) -
JSON
:: Generator :: GeneratorMethods :: NilClass (11) -
JSON
:: Generator :: GeneratorMethods :: Object (11) -
JSON
:: Generator :: GeneratorMethods :: String (11) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (11) - Observable (11)
キーワード
- [] (11)
- []= (11)
-
abort
_ on _ exception= (11) - alert (11)
-
alert
_ error (11) -
alert
_ warning (11) -
allow
_ nan? (11) -
array
_ nl (11) -
array
_ nl= (11) -
ascii
_ only? (11) -
buffer
_ initial _ length (11) -
buffer
_ initial _ length= (11) - changed (11)
-
check
_ circular? (11) - chunk (22)
- configure (11)
- depth (11)
- depth= (11)
- generate (11)
- indent (11)
- indent= (11)
-
insert
_ output (11) - lex (7)
-
max
_ nesting (11) -
max
_ nesting= (11) - merge (11)
-
object
_ nl (11) -
object
_ nl= (11) - parse (7)
-
quirks
_ mode (11) -
quirks
_ mode= (11) -
quirks
_ mode? (11) -
report
_ on _ exception= (8) - say (11)
-
slice
_ before (33) - space (11)
- space= (11)
-
space
_ before (11) -
space
_ before= (11) - sync= (22)
-
to
_ h (11) -
to
_ hash (11) -
to
_ json (99) -
tty
_ output= (11)
検索結果
先頭5件
-
OpenSSL
:: SSL :: SSLSocket # state -> String (27302.0) -
現在の状態をアルファベット 6 文字の文字列で返します。
現在の状態をアルファベット 6 文字の文字列で返します。 -
Random
# state -> Integer (27302.0) -
C言語レベルで定義されている構造体MTの状態を参照します。詳しくはrandom.c を参照してください。
...C言語レベルで定義されている構造体MTの状態を参照します。詳しくはrandom.c を参照してください。... -
JSON
:: State # generate(obj) -> String (18233.0) -
Generates a valid JSON document from object obj and returns the result. If no valid JSON document can be created this method raises a GeneratorError exception.
...Generates a valid JSON document from object obj and returns the
result. If no valid JSON document can be created this method raises a
GeneratorError exception.... -
JSON
:: Generator :: GeneratorMethods :: Float # to _ json(state _ or _ hash = nil) -> String (15320.0) -
自身から生成した JSON 形式の文字列を返します。
...から生成した JSON 形式の文字列を返します。
@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を......指定します。
//emlist[例][ruby]{
require "json"
(1.0).to_json # => "1.0"
//}... -
JSON
:: State # max _ nesting -> Integer (15255.0) -
生成される JSON 形式の文字列のネストの深さの最大値を返します。
...N 形式の文字列のネストの深さの最大値を返します。
この値がゼロである場合は、ネストの深さのチェックを行いません。
//emlist[例 ネストの深さチェックを行う][ruby]{
require "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_nesting: 0)
json_state.max_nesting # => 0
JSON.......generate([[[[[[[[[[]]]]]]]]]], json_state)
//}... -
JSON
:: State # array _ nl -> String (15249.0) -
JSON の配列の後に出力する文字列を返します。
...JSON の配列の後に出力する文字列を返します。
//emlist[例][ruby]{
require "json"
json_state = JSON::State.new({})
json_state.array_nl # => ""
json_state = JSON::State.new(array_nl: "\n")
json_state.array_nl # => "\n"
//}... -
JSON
:: State # array _ nl=(str) (15243.0) -
JSON の配列の後に出力する文字列をセットします。
...JSON の配列の後に出力する文字列をセットします。
//emlist[例][ruby]{
require "json"
json_state = JSON::State.new({})
json_state.array_nl # => ""
json_state.array_nl = "\n"
json_state.array_nl # => "\n"
//}... -
JSON
:: State # max _ nesting=(depth) (15243.0) -
生成される JSON 形式の文字列のネストの深さの最大値をセットします。
...れる 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 # allow _ nan? -> bool (15237.0) -
NaN, Infinity, -Infinity を生成できる場合、真を返します。 そうでない場合は偽を返します。
...
NaN, Infinity, -Infinity を生成できる場合、真を返します。
そうでない場合は偽を返します。
//emlist[例][ruby]{
require "json"
json_state = JSON::State.new({})
json_state.allow_nan? # => false
json_state = JSON::State.new(allow_nan: true)
json_state.allow_nan? # => tr... -
JSON
:: State # ascii _ only? -> bool (15201.0) -
ASCII 文字列のみを用いて JSON 形式の文字列を生成する場合に真を返します。 そうでない場合に偽を返します。
...
ASCII 文字列のみを用いて JSON 形式の文字列を生成する場合に真を返します。
そうでない場合に偽を返します。...