415件ヒット
[1-100件を表示]
(0.073秒)
種類
- インスタンスメソッド (304)
- モジュール関数 (48)
- 関数 (36)
- 文書 (19)
- 特異メソッド (8)
ライブラリ
- ビルトイン (12)
- json (276)
- openssl (12)
-
ripper
/ lexer (24) -
rubygems
/ user _ interaction (36)
クラス
-
Encoding
:: Converter (12) -
Gem
:: StreamUI (36) -
JSON
:: State (120) -
OpenSSL
:: SSL :: SSLSocket (12) - Ripper (8)
-
Ripper
:: Lexer (16)
モジュール
- JSON (48)
-
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)
キーワード
-
NEWS for Ruby 2
. 2 . 0 (11) -
NEWS for Ruby 2
. 5 . 0 (8) - alert (12)
-
alert
_ error (12) -
alert
_ warning (12) -
array
_ nl (12) - generate (24)
- indent (12)
- indent= (12)
-
insert
_ output (12) - lex (16)
-
object
_ nl (12) -
object
_ nl= (12) - parse (8)
-
pretty
_ generate (12) -
pretty
_ unparse (12) -
rb
_ eval _ string _ protect (12) -
rb
_ eval _ string _ wrap (12) -
rb
_ jump _ tag (12) - space (12)
- space= (12)
-
space
_ before (12) -
space
_ before= (12) -
to
_ json (108) - unparse (12)
検索結果
先頭5件
-
OpenSSL
:: SSL :: SSLSocket # state -> String (18202.0) -
現在の状態をアルファベット 6 文字の文字列で返します。
現在の状態をアルファベット 6 文字の文字列で返します。 -
VALUE rb
_ eval _ string _ wrap(const char *str , int *state) (6216.0) -
rb_eval_string_protect と同じですが,スクリプトの評価を 無名のモジュールのもとで行います。
...rb_eval_string_protect と同じですが,スクリプトの評価を
無名のモジュールのもとで行います。... -
VALUE rb
_ eval _ string _ protect(const char *str , int *state) (6206.0) -
str を Ruby プログラムとしてコンパイル・評価し、 その値を返します。
...str を Ruby プログラムとしてコンパイル・評価し、
その値を返します。
コンパイル中または評価中に例外を含む大域脱出が発生した場合は、
state が NULL でなければそれに値が代入され Qnil を返します。... -
JSON
:: Generator :: GeneratorMethods :: String # to _ json(state _ or _ hash = nil) -> String (3220.0) -
自身から生成した JSON 形式の文字列を返します。
...された文字列を返すことがあります。
@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指... -
JSON
:: State # object _ nl -> String (3149.0) -
JSON 形式の文字列中に現れる JavaScript のオブジェクトの行末に挿入する文字列を返します。
...[ruby]{
require "json"
json_state = JSON::State.new(object_nl: "")
json_state.object_nl # => ""
puts JSON.generate([1, 2, { name: "tanaka", age: 19 }], json_state)
# => [1,2,{"name":"tanaka","age":19}]
json_state = JSON::State.new(object_nl: "\n")
json_state.object_nl # =>......"\n"
puts JSON.generate([1, 2, { name: "tanaka", age: 19 }], json_state)
# => [1,2,{
# "name":"tanaka",
# "age":19
# }]
//}... -
JSON
:: State # object _ nl=(string) (3149.0) -
JSON 形式の文字列中に現れる JavaScript のオブジェクトの行末に挿入する文字列をセットします。
...列をセットします。
@param string JSON 形式の文字列中に現れる JavaScript のオブジェクトの行末に挿入する文字列を指定します。
//emlist[例][ruby]{
require "json"
json_state = JSON::State.new(object_nl: "")
json_state.object_nl # => ""
puts JSO......N.generate([1, 2, { name: "tanaka", age: 19 }], json_state)
# => [1,2,{"name":"tanaka","age":19}]
json_state.object_nl = "\n"
json_state.object_nl # => "\n"
puts JSON.generate([1, 2, { name: "tanaka", age: 19 }], json_state)
# => [1,2,{
# "name":"tanaka",
# "age":19
# }]
//}... -
JSON
:: State # space -> String (3149.0) -
JSON 形式の文字列のトークン間に挿入する文字列を返します。
...t[例][ruby]{
require "json"
json_state = JSON::State.new(space: "")
json_state.space # => ""
puts JSON.generate([1, 2, { name: "tanaka", age: 19 }], json_state)
# => [1,2,{"name":"tanaka","age":19}]
json_state = JSON::State.new(space: "\t")
json_state.space # => "\t"
puts......JSON.generate([1, 2, { name: "tanaka", age: 19 }], json_state)
# => [1,2,{"name": "tanaka","age": 19}]
//}... -
JSON
:: State # space=(string) (3149.0) -
JSON 形式の文字列のトークン間に挿入する文字列をセットします。
...。
@param string JSON 形式の文字列のトークン間に挿入する文字列を指定します。
//emlist[例][ruby]{
require "json"
json_state = JSON::State.new(space: "")
json_state.space # => ""
puts JSON.generate([1, 2, { name: "tanaka", age: 19 }], json_state)
# => [1,2,{......"name":"tanaka","age":19}]
json_state.space = "\t"
json_state.space # => "\t"
puts JSON.generate([1, 2, { name: "tanaka", age: 19 }], json_state)
# => [1,2,{"name": "tanaka","age": 19}]
//}... -
JSON
:: State # space _ before -> String (3149.0) -
JSON 形式の文字列中で JavaScript のオブジェクトを表す部分にある ':' の 前に挿入する文字列を返します。
...y]{
require "json"
json_state = JSON::State.new(space_before: "")
json_state.space_before # => ""
puts JSON.generate([1, 2, { name: "tanaka", age: 19 }], json_state)
# => [1,2,{"name":"tanaka","age":19}]
json_state = JSON::State.new(space_before: " ")
json_state.space_before......# => " "
puts JSON.generate([1, 2, { name: "tanaka", age: 19 }], json_state)
# => [1,2,{"name" :"tanaka","age" :19}]
//}...