297件ヒット
[101-200件を表示]
(0.196秒)
ライブラリ
- erb (11)
- json (44)
-
json
/ add / bigdecimal (11) -
json
/ add / complex (11) -
json
/ add / date _ time (11) -
json
/ add / exception (11) -
json
/ add / rational (11) -
json
/ add / time (11) - openssl (33)
- resolv (22)
-
rubygems
/ requirement (22) -
rubygems
/ version (11) - tempfile (55)
-
win32
/ registry (22) - win32ole (11)
クラス
- BigDecimal (11)
- Complex (11)
- DateTime (11)
- ERB (11)
- Exception (11)
-
Gem
:: Requirement (22) -
Gem
:: Version (11) -
JSON
:: Parser (11) -
OpenSSL
:: OCSP :: Response (11) -
OpenSSL
:: PKCS12 (11) -
OpenSSL
:: X509 :: ExtensionFactory (11) - Rational (11)
-
Resolv
:: IPv4 (11) -
Resolv
:: IPv6 (11) - Tempfile (55)
- Time (11)
- WIN32OLE (11)
-
Win32
:: Registry (22)
モジュール
キーワード
-
create
_ guid (11) -
create
_ id (11) -
create
_ id= (11) -
json
_ create (77) - new (55)
- open (22)
検索結果
先頭5件
-
OpenSSL
:: OCSP :: Response . create(status , basic _ resp) -> OpenSSL :: OCSP :: Response (24302.0) -
Response オブジェクトを OpenSSL::OCSP::BasicResponse オブジェクト から生成します。
...Response オブジェクトを OpenSSL::OCSP::BasicResponse オブジェクト
から生成します。
@param status ステータスコード(整数)
@param basic_resp OpenSSL::OCSP::BasicResponse オブジェクト
@see OpenSSL::OCSP::Response.new... -
JSON
. create _ id=(identifier) (18436.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]}
//}... -
DateTime
. json _ create(hash) -> DateTime (18402.0) -
JSON のオブジェクトから Ruby のオブジェクトを生成して返します。
JSON のオブジェクトから Ruby のオブジェクトを生成して返します。
@param hash 適切なキーを持つハッシュを指定します。 -
JSON
. create _ id -> String (18336.0) -
json_create メソッドで使用するクラスを決定するために使用する値を返します。
...create メソッドで使用するクラスを決定するために使用する値を返します。
デフォルトは "json_class" です。
//emlist[例][ruby]{
require "json"
class User
attr :id, :name
def initialize(id, name)
@id, @name = id, name
end
def self.json_create(object......ct['id'], object["name"])
end
def as_json(*)
{
JSON.create_id => self.class.name,
"id" => id,
"name" => name,
}
end
def to_json(*)
as_json.to_json
end
end
json = JSON.generate(User.new(1, "tanaka"))
json # => "{\"json_class\":\"User\",\"id\":1,\"name\":\"ta......naka\"}"
JSON.parse(json, create_additions: true)
# => #<User:0x0000557709b269e0 @id=1, @name="tanaka">
//}... -
JSON
:: Generator :: GeneratorMethods :: String :: Extend . json _ create(hash) -> String (18308.0) -
JSON のオブジェクトから Ruby の文字列を生成して返します。
...のオブジェクトから Ruby の文字列を生成して返します。
@param hash キーとして "raw" という文字列を持ち、その値として数値の配列を持つハッシュを指定します。
require 'json'
String.json_create({"raw" => [0x41, 0x42, 0x43]}) # => "ABC"... -
WIN32OLE
. create _ guid -> String (18308.0) -
GUID(グローバル一意識別子:Global Unique Identifier)を生成します。
...GUID(グローバル一意識別子:Global Unique Identifier)を生成します。
GUIDは、COMのクラス識別子(CLSID)、インターフェイス識別子(IID)など多数の
領域でWindows上のオブジェクトの識別に利用される128ビットの値です。
WIN32OLEが生成......するGUIDは以下の形式によるGUIDの文字列表現です。なお00〜
FFはGUIDの先頭からのバイト位置を示します。これはレジストリのキーとして
利用される形式です。
{33221100-5544-7766-8899-AABBCCDDEEFF}
@return GUIDの文字列表現を返しま......す。
WIN32OLE.create_guid # => "{????????-????-????-????-????????????}"... -
BigDecimal
. json _ create(hash) -> BigDecimal (15302.0) -
JSON のオブジェクトから BigDecimal のオブジェクトを生成して返します。
...JSON のオブジェクトから BigDecimal のオブジェクトを生成して返します。
@param hash Marshal.#load 可能な値をキー 'b' に持つハッシュを指定します。... -
Exception
. json _ create(hash) -> Exception (15302.0) -
JSON のオブジェクトから Ruby のオブジェクトを生成して返します。
JSON のオブジェクトから Ruby のオブジェクトを生成して返します。
@param hash 適切なキーを持つハッシュを指定します。 -
Rational
. json _ create(hash) -> Rational (15302.0) -
JSON のオブジェクトから Rational のオブジェクトを生成して返します。
...JSON のオブジェクトから Rational のオブジェクトを生成して返します。
@param hash 分子をキー 'n'、分母をキー 'd' に持つハッシュを指定します。... -
Time
. json _ create(hash) -> Time (15302.0) -
JSON のオブジェクトから Ruby のオブジェクトを生成して返します。
JSON のオブジェクトから Ruby のオブジェクトを生成して返します。
@param hash 適切なキーを持つハッシュを指定します。