438件ヒット
[101-200件を表示]
(0.165秒)
ライブラリ
- ビルトイン (150)
- delegate (36)
- forwardable (48)
- json (132)
-
rdoc
/ code _ object (12) -
rdoc
/ context (24) -
rdoc
/ stats (24) - win32ole (12)
クラス
- Delegator (36)
- Module (72)
- Object (48)
- Proc (6)
-
RDoc
:: CodeObject (12) -
RDoc
:: Context (24) -
RDoc
:: Stats (24) -
WIN32OLE
_ TYPE (12)
モジュール
- Enumerable (24)
- Forwardable (24)
-
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 (36) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (12) - SingleForwardable (24)
キーワード
-
def
_ delegators (24) -
def
_ instance _ delegators (12) -
def
_ single _ delegators (12) -
default
_ event _ sources (12) -
document
_ self= (12) - grep (24)
-
initialize
_ copy (12) -
initialize
_ methods _ etc (12) -
instance
_ methods (12) -
num
_ methods (12) -
num
_ methods= (12) -
private
_ instance _ methods (12) -
private
_ methods (12) -
protected
_ instance _ methods (12) -
protected
_ methods (12) -
public
_ instance _ methods (12) -
public
_ methods (12) -
ruby2
_ keywords (18) - send (24)
-
set
_ visibility _ for (12) -
to
_ json (108) -
to
_ json _ raw (12) -
to
_ json _ raw _ object (12) -
undef
_ method (12)
検索結果
先頭5件
-
JSON
:: Generator :: GeneratorMethods :: String # to _ json _ raw -> String (12101.0) -
自身に対して JSON::Generator::GeneratorMethods::String#to_json_raw_object を呼び出して JSON::Generator::GeneratorMethods::Hash#to_json した結果を返します。
...自身に対して JSON::Generator::GeneratorMethods::String#to_json_raw_object を呼び出して JSON::Generator::GeneratorMethods::Hash#to_json した結果を返します。
@see JSON::Generator::GeneratorMethods::String#to_json_raw_object, JSON::Generator::GeneratorMethods::Hash#to_json... -
JSON
:: Generator :: GeneratorMethods :: String # to _ json _ raw _ object -> Hash (12101.0) -
生の文字列を格納したハッシュを生成します。
...する場合に使用してください。
require 'json'
"にほんご".encode("euc-jp").to_json_raw_object
# => {"json_class"=>"String", "raw"=>[164, 203, 164, 219, 164, 243, 164, 180]}
"にほんご".encode("euc-jp").to_json # source sequence is illegal/malformed (JSON::GeneratorError)... -
Delegator
# protected _ methods(all = true) -> [Symbol] (9208.0) -
そのオブジェクトが理解できる protected メソッド名の一覧を返します。
...そのオブジェクトが理解できる protected メソッド名の一覧を返します。
@param all 偽を指定すると __getobj__ のスーパークラスで定義されたメソッドを除きます。
@see Object#protected_methods... -
Delegator
# public _ methods(all = true) -> [Symbol] (9208.0) -
そのオブジェクトが理解できる public メソッド名の一覧を返します。
...そのオブジェクトが理解できる public メソッド名の一覧を返します。
@param all 偽を指定すると __getobj__ のスーパークラスで定義されたメソッドを除きます。
@see Object#public_methods... -
RDoc
:: Stats # num _ methods=(val) (9202.0) -
解析したメソッドの数を指定します。
...解析したメソッドの数を指定します。
@param val 数値を指定します。... -
RDoc
:: Stats # num _ methods -> Integer (9102.0) -
解析したメソッドの数を返します。
解析したメソッドの数を返します。 -
JSON
:: Generator :: GeneratorMethods :: Array # to _ json(state _ or _ hash = nil) -> String (9101.0) -
自身から生成した JSON 形式の文字列を返します。
...SON 形式の文字列を返します。
@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指定します... -
JSON
:: Generator :: GeneratorMethods :: FalseClass # to _ json(state _ or _ hash = nil) -> String (9101.0) -
自身から生成した JSON 形式の文字列を返します。
...返します。
"false" という文字列を返します。
@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を......指定します。
//emlist[例][ruby]{
require "json"
false.to_json # => "false"
//}... -
JSON
:: Generator :: GeneratorMethods :: Hash # to _ json(state _ or _ hash = nil) -> String (9101.0) -
自身から生成した JSON 形式の文字列を返します。
...SON 形式の文字列を返します。
@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}"
//}...