1521件ヒット
[1-100件を表示]
(0.041秒)
ライブラリ
- ビルトイン (93)
- json (432)
-
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) - openssl (84)
- prime (432)
-
rdoc
/ generator (12) -
rdoc
/ generator / darkfish (60) -
rdoc
/ generator / json _ index (48) -
rdoc
/ generator / markup (12) -
rdoc
/ generator / ri (48) -
rdoc
/ rdoc (12) - rss (48)
クラス
- BigDecimal (12)
- Complex (12)
- Date (12)
- DateTime (12)
-
Enumerator
:: Lazy (93) - Exception (12)
- Integer (12)
-
OpenSSL
:: PKey :: DH (60) -
OpenSSL
:: PKey :: EC :: Group (24) - OpenStruct (12)
- Prime (96)
-
Prime
:: EratosthenesGenerator (36) -
Prime
:: Generator23 (36) -
Prime
:: PseudoPrimeGenerator (168) -
Prime
:: TrialDivisionGenerator (36) -
RDoc
:: Generator :: Darkfish (48) -
RDoc
:: Generator :: JsonIndex (36) -
RDoc
:: Generator :: RI (36) -
RDoc
:: Options (24) -
RDoc
:: RDoc (12) -
RSS
:: Maker :: ChannelBase (24) -
RSS
:: Rss :: Channel (24) - Range (12)
- Rational (12)
- Regexp (12)
- Struct (12)
- Symbol (12)
- Time (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 :: String :: Extend (12) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (12)
キーワード
- Array (24)
- DESCRIPTION (12)
- Darkfish (12)
- EratosthenesGenerator (12)
- Extend (24)
- FalseClass (24)
- Float (24)
-
GENERATOR
_ DIR (12) - Generator23 (12)
- GeneratorError (12)
- Hash (24)
- Integer (24)
- JsonIndex (12)
- Markup (12)
- NilClass (24)
- Object (24)
- PseudoPrimeGenerator (12)
- RI (12)
-
SEARCH
_ INDEX _ FILE (12) - State (12)
- String (24)
- TrialDivisionGenerator (12)
- TrueClass (24)
- VERSION (12)
-
add
_ generator (12) - chunk (24)
- each (72)
-
each
_ with _ index (24) - generate (60)
- generator (60)
- generator= (36)
- initialize (24)
-
json
_ create (12) - new (60)
- next (48)
- prime? (24)
-
prime
_ division (36) - rdoc (12)
-
rdoc
/ generator (12) -
rdoc
/ generator / darkfish (12) -
rdoc
/ generator / json _ index (12) -
rdoc
/ generator / markup (12) -
rdoc
/ generator / ri (12) - rewind (48)
-
set
_ generator (12) -
slice
_ after (22) -
slice
_ before (36) -
slice
_ when (11) - state (12)
- succ (48)
-
to
_ json (252) -
to
_ json _ raw (12) -
to
_ json _ raw _ object (12) -
upper
_ bound (12) -
upper
_ bound= (12) -
with
_ index (24) -
with
_ object (24)
検索結果
先頭5件
-
RDoc
:: Generator (24000.0) -
RDoc が解析したソースコードを RDoc::CodeObject のツリーから その他の形式に出力するためのクラスです。
RDoc が解析したソースコードを RDoc::CodeObject のツリーから
その他の形式に出力するためのクラスです。 -
RDoc
:: Generator :: Darkfish :: GENERATOR _ DIR -> String (18201.0) -
このファイルの親ディレクトリへのパスを表す文字列です。
このファイルの親ディレクトリへのパスを表す文字列です。
テンプレートなどのリソースを検索するのに内部で使用します。 -
JSON
:: Generator :: GeneratorMethods :: String # to _ json _ raw -> String (18189.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 :: Object # to _ json(state _ or _ hash = nil) -> String (18141.0) -
自身を to_s で文字列にした結果を JSON 形式の文字列に変換して返します。
...自身を to_s で文字列にした結果を JSON 形式の文字列に変換して返します。
このメソッドはあるオブジェクトに to_json メソッドが定義されていない場合に使用する
フォールバックのためのメソッドです。
@param state_or_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 (18125.0) -
自身から生成した JSON 形式の文字列を返します。
...指定します。
//emlist[例][ruby]{
require "json"
puts "test".to_json # => "test"
puts '"'.to_json # => "\""
puts "\\".to_json # => "\\"
puts "𤘩宮城".to_json(ascii_only: true) # => "\ud851\ude29\u5bae\u57ce"
//}... -
JSON
:: Generator :: GeneratorMethods :: String # to _ json _ raw _ object -> Hash (18113.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)... -
JSON
:: Generator :: GeneratorMethods :: Array # to _ json(state _ or _ hash = nil) -> String (18107.0) -
自身から生成した JSON 形式の文字列を返します。
...N 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指定します。
//emlist[例][ruby]{
require "json"
[1, 2, 3].to_json # => "[1,2,3]"
//}... -
JSON
:: Generator :: GeneratorMethods :: FalseClass # to _ json(state _ or _ hash = nil) -> String (18107.0) -
自身から生成した JSON 形式の文字列を返します。
...JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指定します。
//emlist[例][ruby]{
require "json"
false.to_json # => "false"
//}... -
JSON
:: Generator :: GeneratorMethods :: Float # to _ json(state _ or _ hash = nil) -> String (18107.0) -
自身から生成した JSON 形式の文字列を返します。
...る JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指定します。
//emlist[例][ruby]{
require "json"
(1.0).to_json # => "1.0"
//}...