324件ヒット
[301-324件を表示]
(0.017秒)
別のキーワード
種類
- インスタンスメソッド (276)
- 特異メソッド (36)
- ライブラリ (12)
ライブラリ
- json (156)
-
json
/ add / bigdecimal (12) -
json
/ add / complex (12) -
json
/ add / date (12) -
json
/ add / date _ time (12) -
json
/ add / exception (12) -
json
/ add / ostruct (12) -
json
/ add / range (12) -
json
/ add / rational (12) -
json
/ add / regexp (12) -
json
/ add / struct (12) -
json
/ add / symbol (12) -
json
/ add / time (12) - psych (12)
クラス
モジュール
- JSON (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) - Psych (12)
キーワード
-
create
_ id (12) -
create
_ id= (12) -
json
/ add / core (12) -
to
_ json _ raw (12) -
to
_ json _ raw _ object (12)
検索結果
-
JSON
. create _ id=(identifier) (17106.0) -
json_create メソッドで使用するクラスを決定するために使用する値をセットします。
...
json_create メソッドで使用するクラスを決定するために使用する値をセットします。
@param identifier 識別子を指定します。
//emlist[例][ruby]{
require "json"
require "json/add/core"
JSON.create_id # => "json_class"
puts (1..5).to_json......# => {"json_class":"Range","a":[1,5,false]}
JSON.create_id = "my_json_class" # => "my_json_class"
JSON.create_id # => "my_json_class"
puts (1..5).to_json # => {"my_json_class":"Range","a":[1,5,false]}
//}... -
json
/ add / core (6086.0) -
Ruby のコアクラスに JSON 形式の文字列に変換するメソッドや JSON 形式の文字列から Ruby のオブジェクトに変換するメソッドを定義します。
...コアクラスに JSON 形式の文字列に変換するメソッドや
JSON 形式の文字列から Ruby のオブジェクトに変換するメソッドを定義します。
json/add/core サブライブラリを require すると、例えば Range オブ
ジェクトを JSON 形式の文字列......にしたり、Range オブジェクトに戻す事
ができます。
//emlist[例][ruby]{
require 'json/add/core'
(1..10).to_json # => "{\"json_class\":\"Range\",\"a\":[1,10,false]}"
JSON.load((1..10).to_json) # => 1..10
//}...