3100件ヒット
[1-100件を表示]
(0.132秒)
別のキーワード
ライブラリ
- ビルトイン (2287)
- csv (72)
- erb (12)
- fiber (8)
- json (216)
-
json
/ add / bigdecimal (12) -
json
/ add / complex (12) -
json
/ add / date (12) -
json
/ add / date _ time (12) -
json
/ add / exception (12) -
json
/ add / range (12) -
json
/ add / rational (12) -
json
/ add / regexp (12) -
json
/ add / struct (12) -
json
/ add / time (12) - matrix (84)
- mkmf (12)
-
net
/ http (12) - optparse (12)
- pathname (12)
- pp (24)
- prime (12)
- psych (60)
- rake (12)
-
ripper
/ filter (12) - set (9)
- socket (12)
- stringio (48)
- strscan (24)
- thread (12)
- timeout (16)
- win32ole (12)
クラス
- Addrinfo (12)
- Array (314)
- BasicObject (144)
- BigDecimal (12)
- Binding (36)
- CSV (36)
-
CSV
:: Row (36) - Class (12)
- Complex (12)
- Date (12)
- DateTime (12)
- ERB (12)
- Enumerator (60)
- Exception (12)
- Fiber (42)
- Hash (169)
- IO (12)
- Integer (18)
-
JSON
:: State (72) - Matrix (84)
- Method (56)
- Module (168)
-
Net
:: HTTPGenericRequest (12) - Object (465)
-
ObjectSpace
:: WeakMap (12) - OptionParser (12)
- Pathname (12)
- Prime (12)
- Proc (12)
-
Psych
:: ScalarScanner (12) -
Psych
:: Visitors :: YAMLTree (24) -
Rake
:: TaskArguments (12) - Random (48)
- Range (172)
- Rational (12)
- Regexp (24)
-
Ripper
:: Filter (12) - Set (12)
- String (72)
- StringIO (48)
- StringScanner (24)
- Struct (46)
- Thread (20)
-
Thread
:: Queue (36) -
Thread
:: SizedQueue (36) - Time (48)
- TracePoint (7)
- UnboundMethod (12)
-
WIN32OLE
_ EVENT (12)
モジュール
- Comparable (15)
- Enumerable (320)
-
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) - Kernel (88)
キーワード
- != (12)
- !~ (12)
- << (12)
- == (24)
- === (20)
- =~ (9)
- JSON (12)
- [] (114)
- []= (12)
-
_ _ send _ _ (24) -
_ dump (12) -
arg
_ config (12) - at (12)
- begin (12)
- bind (12)
-
body
_ stream (12) - bytes (12)
- call (24)
- clamp (15)
-
class
_ eval (24) -
class
_ exec (12) -
class
_ variable _ get (12) -
class
_ variable _ set (12) - clone (12)
-
cofactor
_ expansion (12) - column (24)
- component (12)
- configure (12)
-
connect
_ from (12) -
const
_ get (12) -
const
_ set (12) - convert (36)
- count (24)
-
def
_ class (12) - default (24)
-
define
_ singleton _ method (24) - delete (60)
-
delete
_ at (12) - deq (24)
- detect (12)
- dig (30)
- disjoint? (12)
- display (12)
- dup (12)
- each (36)
-
each
_ with _ object (24) - element (12)
- encode (36)
- end (12)
- entries (12)
-
enum
_ for (24) - eql? (12)
- equal? (24)
- eval (12)
- extend (12)
-
extend
_ object (12) - extended (12)
- feed (12)
- fetch (80)
-
fetch
_ values (20) - field (12)
- find (12)
-
find
_ index (12) - first (48)
- getlocal (24)
- grep (24)
-
grep
_ v (24) - handler= (12)
- indent= (12)
- index (7)
- initialize (12)
- inject (36)
-
instance
_ eval (24) -
instance
_ exec (12) -
instance
_ of? (12) -
instance
_ variable _ defined? (12) -
instance
_ variable _ get (12) -
instance
_ variable _ set (12) -
is
_ a? (12) - jj (12)
- join (24)
- key (12)
-
kind
_ of? (12) -
laplace
_ expansion (12) - last (36)
- ljust (12)
-
local
_ variable _ get (12) -
local
_ variable _ set (12) -
marshal
_ load (12) - match (12)
- max (86)
-
max
_ by (12) - merge (12)
- method (12)
-
method
_ missing (12) - methods (12)
- min (86)
-
min
_ by (12) -
module
_ eval (24) -
module
_ exec (12) - new (12)
-
object
_ nl= (12) - one? (15)
- pack (21)
- parameters (31)
- parse (12)
- pop (36)
-
pretty
_ print (12) -
pretty
_ print _ cycle (12) - print (12)
- printf (12)
-
psych
_ y (12) -
public
_ method (12) -
public
_ send (24) - push (12)
- putc (12)
- puts (12)
- raise (18)
- rand (36)
- reduce (36)
- reject (12)
-
remove
_ class _ variable (12) -
remove
_ const (12) -
remove
_ instance _ variable (12) -
respond
_ to? (12) -
respond
_ to _ missing? (12) - resume (12)
- rjust (12)
- sample (24)
-
scan
_ full (12) -
search
_ full (12) - send (24)
- shift (36)
-
singleton
_ method (12) -
singleton
_ method _ added (12) -
singleton
_ method _ removed (12) -
singleton
_ method _ undefined (12) -
singleton
_ methods (12) - slice (12)
- slice! (12)
- space= (12)
-
space
_ before= (12) - store (12)
- strftime (12)
- timeout (16)
-
to
_ a (12) -
to
_ enum (24) -
to
_ json (228) - tokenize (12)
- transfer (12)
- unpack (12)
- unshift (12)
-
values
_ at (24) -
with
_ object (24) - write (12)
- y (12)
- zip (24)
検索結果
先頭5件
- 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
:: Generator :: GeneratorMethods :: Hash # to _ json(state _ or _ hash = nil) -> String - JSON
:: Generator :: GeneratorMethods :: Integer # to _ json(state _ or _ hash = nil) -> String
-
JSON
:: Generator :: GeneratorMethods :: Array # to _ json(state _ or _ hash = nil) -> String (21213.0) -
自身から生成した JSON 形式の文字列を返します。
...自身から生成した JSON 形式の文字列を返します。
@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に 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 (21213.0) -
自身から生成した JSON 形式の文字列を返します。
...生成した JSON 形式の文字列を返します。
"false" という文字列を返します。
@param state_or_hash 生成する 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 (21213.0) -
自身から生成した JSON 形式の文字列を返します。
...自身から生成した JSON 形式の文字列を返します。
@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を......指定します。
//emlist[例][ruby]{
require "json"
(1.0).to_json # => "1.0"
//}... -
JSON
:: Generator :: GeneratorMethods :: Hash # to _ json(state _ or _ hash = nil) -> String (21213.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 :: Integer # to _ json(state _ or _ hash = nil) -> String (21213.0) -
自身から生成した JSON 形式の文字列を返します。
...自身から生成した JSON 形式の文字列を返します。
@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を......指定します。
//emlist[例][ruby]{
require "json"
10.to_json # => "10"
//}... -
JSON
:: Generator :: GeneratorMethods :: NilClass # to _ json(state _ or _ hash = nil) -> String (21213.0) -
自身から生成した JSON 形式の文字列を返します。
...生成した JSON 形式の文字列を返します。
"null" という文字列を返します。
@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引......数と同じ Hash を
指定します。
//emlist[例][ruby]{
require "json"
nil.to_json # => "null"
//}... -
JSON
:: Generator :: GeneratorMethods :: Object # to _ json(state _ or _ hash = nil) -> String (21213.0) -
自身を to_s で文字列にした結果を JSON 形式の文字列に変換して返します。
...自身を to_s で文字列にした結果を JSON 形式の文字列に変換して返します。
このメソッドはあるオブジェクトに to_json メソッドが定義されていない場合に使用する
フォールバックのためのメソッドです。
@param state_or_hash 生......に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指定します。
//emlist[例][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 (21213.0) -
自身から生成した JSON 形式の文字列を返します。
...から生成した JSON 形式の文字列を返します。
自身のエンコードは UTF-8 であるべきです。
"\u????" のように UTF-16 ビッグエンディアンでエンコードされた文字列を返すことがあります。
@param state_or_hash 生成する JSON 形式の文...... JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指定します。
//emlist[例][ruby]{
require "json"
puts "test".to_json # => "test"
puts '"'.to_json # => "\""
puts "\\".to_jso......n # => "\\"
puts "𤘩宮城".to_json(ascii_only: true) # => "\ud851\ude29\u5bae\u57ce"
//}... -
JSON
:: Generator :: GeneratorMethods :: TrueClass # to _ json(state _ or _ hash = nil) -> String (21213.0) -
自身から生成した JSON 形式の文字列を返します。
...生成した JSON 形式の文字列を返します。
"true" という文字列を返します。
@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引......数と同じ Hash を
指定します。
//emlist[例][ruby]{
require "json"
true.to_json # => "true"
//}...