424件ヒット
[101-200件を表示]
(0.151秒)
別のキーワード
ライブラリ
- ビルトイン (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件
- JSON
:: State # buffer _ initial _ length -> Integer - JSON
:: State # generate(obj) -> String - JSON
:: Generator :: GeneratorMethods :: Array # to _ json(state _ or _ hash = nil) -> String - JSON
:: Generator :: GeneratorMethods :: FalseClass # to _ json(state _ or _ hash = nil) -> String - JSON
:: Generator :: GeneratorMethods :: Float # to _ json(state _ or _ hash = nil) -> String
-
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.... -
JSON
:: State # generate(obj) -> String (9101.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 :: Array # to _ json(state _ or _ hash = nil) -> String (6220.0) -
自身から生成した JSON 形式の文字列を返します。
...成した JSON 形式の文字列を返します。
@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指... -
JSON
:: Generator :: GeneratorMethods :: FalseClass # to _ json(state _ or _ hash = nil) -> String (6220.0) -
自身から生成した JSON 形式の文字列を返します。
...。
"false" という文字列を返します。
@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指定... -
JSON
:: Generator :: GeneratorMethods :: Float # to _ json(state _ or _ hash = nil) -> String (6220.0) -
自身から生成した JSON 形式の文字列を返します。
...成した JSON 形式の文字列を返します。
@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指... -
JSON
:: Generator :: GeneratorMethods :: Hash # to _ json(state _ or _ hash = nil) -> String (6220.0) -
自身から生成した JSON 形式の文字列を返します。
...成した JSON 形式の文字列を返します。
@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指......定します。
//emlist[例][ruby]{
require "json"
person = { "name" => "tanaka", "age" => 19 }
person.to_json # => "{\"name\":\"tanaka\",\"age\":19}"
//}... -
JSON
:: Generator :: GeneratorMethods :: NilClass # to _ json(state _ or _ hash = nil) -> String (6220.0) -
自身から生成した JSON 形式の文字列を返します。
...す。
"null" という文字列を返します。
@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指... -
JSON
:: Generator :: GeneratorMethods :: Object # to _ json(state _ or _ hash = nil) -> String (6220.0) -
自身を to_s で文字列にした結果を JSON 形式の文字列に変換して返します。
...ォールバックのためのメソッドです。
@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指......ruby]{
require "json"
class Person
attr :name, :age
def initialize(name, age)
@name, @age = name, age
end
end
tanaka = Person.new("tanaka", 29)
tanaka.to_json # => "\"#<Person:0x00007ffdec0167c8>\""
tanaka.method(:to_json).owner # => JSON::Ext::Generator::GeneratorMethods::Object
//}... -
JSON
:: Generator :: GeneratorMethods :: String # to _ json(state _ or _ hash = nil) -> String (6220.0) -
自身から生成した JSON 形式の文字列を返します。
...された文字列を返すことがあります。
@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指...