6890件ヒット
[1-100件を表示]
(0.138秒)
別のキーワード
ライブラリ
- ビルトイン (3694)
- benchmark (24)
-
cgi
/ session (12) - csv (99)
- date (24)
- dbm (12)
- delegate (108)
- digest (12)
- drb (12)
-
drb
/ gw (12) - erb (12)
- fiber (8)
- fiddle (12)
- gdbm (48)
-
io
/ console (36) -
io
/ nonblock (12) -
irb
/ cmd / chws (24) -
irb
/ cmd / pushws (36) -
irb
/ cmd / subirb (36) -
irb
/ context (36) -
irb
/ extend-command (12) -
irb
/ output-method (72) - json (252)
-
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) - kconv (24)
- matrix (132)
-
minitest
/ spec (16) -
minitest
/ unit (7) - mkmf (48)
- monitor (36)
-
net
/ http (24) -
net
/ imap (12) -
net
/ pop (48) -
net
/ smtp (28) - observer (12)
- openssl (156)
- optparse (12)
- ostruct (34)
- pathname (24)
- pp (60)
- prettyprint (36)
- prime (36)
- pstore (48)
- psych (84)
- rake (24)
-
rdoc
/ code _ object (132) -
rdoc
/ markup (12) -
rexml
/ document (108) -
rexml
/ parsers / pullparser (24) -
rinda
/ rinda (12) -
rinda
/ tuplespace (12) -
ripper
/ filter (36) - rss (36)
-
rubygems
/ config _ file (24) -
rubygems
/ spec _ fetcher (24) -
rubygems
/ timer (12) - sdbm (24)
- set (18)
- shell (42)
-
shell
/ builtin-command (6) -
shell
/ command-processor (18) -
shell
/ filter (24) -
shell
/ process-controller (30) - shellwords (12)
- socket (48)
- stringio (96)
- strscan (24)
- sync (12)
- thread (18)
- thwait (12)
- timeout (16)
- tracer (12)
- weakref (24)
-
webrick
/ cgi (12) -
webrick
/ httpversion (24) -
webrick
/ log (12) - win32ole (192)
-
yaml
/ dbm (96) - zlib (36)
クラス
-
ARGF
. class (12) - Addrinfo (36)
- Array (542)
- BasicObject (168)
-
Benchmark
:: Job (24) - BigDecimal (12)
- Binding (45)
-
CGI
:: Session (12) - CSV (48)
-
CSV
:: Row (39) -
CSV
:: Table (12) - Class (24)
- Complex (24)
- DBM (12)
-
DRb
:: DRbServer (12) -
DRb
:: GW (12) - Data (3)
- Date (24)
- DateTime (24)
- Delegator (72)
- ERB (12)
- Enumerator (84)
-
Enumerator
:: Lazy (23) - Exception (12)
- Fiber (42)
-
Fiddle
:: Closure :: BlockCaller (12) - FrozenError (6)
- GDBM (48)
-
Gem
:: ConfigFile (24) -
Gem
:: SpecFetcher (24) - Hash (253)
- IO (84)
-
IRB
:: Context (36) -
IRB
:: ExtendCommand :: ChangeWorkspace (12) -
IRB
:: ExtendCommand :: CurrentWorkingWorkspace (12) -
IRB
:: ExtendCommand :: Foreground (12) -
IRB
:: ExtendCommand :: IrbCommand (12) -
IRB
:: ExtendCommand :: Kill (12) -
IRB
:: ExtendCommand :: PopWorkspace (12) -
IRB
:: ExtendCommand :: PushWorkspace (12) -
IRB
:: ExtendCommand :: Workspaces (12) -
IRB
:: OutputMethod (60) -
IRB
:: StdioOutputMethod (12) - Integer (18)
-
JSON
:: Parser (12) -
JSON
:: State (84) - KeyError (16)
- Matrix (96)
- Method (56)
- Module (180)
- Monitor (12)
- Mutex (2)
-
Net
:: HTTP (12) -
Net
:: HTTPGenericRequest (12) -
Net
:: IMAP :: FetchData (12) -
Net
:: POP3 (12) -
Net
:: POPMail (36) -
Net
:: SMTP (28) - Numeric (24)
- Object (873)
-
ObjectSpace
:: WeakMap (24) -
OpenSSL
:: ASN1 :: ASN1Data (12) -
OpenSSL
:: ASN1 :: ObjectId (60) -
OpenSSL
:: X509 :: Certificate (12) -
OpenSSL
:: X509 :: ExtensionFactory (36) -
OpenSSL
:: X509 :: Request (24) - OpenStruct (46)
- OptionParser (12)
- PP (24)
- PStore (48)
- Pathname (24)
- PrettyPrint (36)
- Prime (12)
-
Prime
:: PseudoPrimeGenerator (24) - Proc (12)
-
Psych
:: ScalarScanner (12) -
Psych
:: Visitors :: YAMLTree (24) -
RDoc
:: CodeObject (132) -
RDoc
:: Markup (12) -
REXML
:: Attribute (12) -
REXML
:: Element (12) -
REXML
:: Elements (24) -
REXML
:: Parent (60) -
REXML
:: Parsers :: PullEvent (24) -
Rake
:: TaskArguments (24) - Random (48)
- Range (250)
- Rational (12)
- Regexp (24)
-
Rinda
:: DRbObjectTemplate (12) -
Rinda
:: TupleEntry (12) -
Ripper
:: Filter (36) - SDBM (24)
- Set (24)
- Shell (42)
-
Shell
:: CommandProcessor (18) -
Shell
:: Concat (6) -
Shell
:: Filter (24) -
Shell
:: ProcessController (30) - SimpleDelegator (24)
- String (129)
- StringIO (96)
- StringScanner (24)
- Struct (83)
- Symbol (12)
- Thread (56)
-
Thread
:: Mutex (10) -
Thread
:: Queue (36) -
Thread
:: SizedQueue (72) - ThreadsWait (12)
- Time (48)
- TracePoint (55)
- Tracer (12)
- UNIXSocket (12)
- UnboundMethod (36)
- Vector (36)
-
WEBrick
:: BasicLog (12) -
WEBrick
:: CGI (12) -
WEBrick
:: HTTPVersion (24) - WIN32OLE (84)
-
WIN32OLE
_ EVENT (24) -
WIN32OLE
_ PARAM (12) -
WIN32OLE
_ TYPE (12) -
WIN32OLE
_ TYPELIB (12) -
WIN32OLE
_ VARIABLE (12) -
WIN32OLE
_ VARIANT (36) - WeakRef (24)
-
YAML
:: DBM (96) -
Zlib
:: Deflate (12) -
Zlib
:: GzipWriter (24)
モジュール
- Comparable (15)
- DublinCoreModel (36)
- Enumerable (557)
-
IRB
:: ExtendCommandBundle (12) -
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 (24) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (12) - Kernel (160)
-
MiniTest
:: Assertions (7) - MonitorMixin (24)
- Observable (12)
-
OpenSSL
:: Buffering (12) -
Sync
_ m (12)
キーワード
- ! (12)
- != (24)
- !~ (12)
- << (84)
- <=> (12)
- == (36)
- === (56)
- =~ (9)
- DelegateClass (12)
- Digest (12)
- JSON (12)
- [] (270)
- []= (36)
-
_ _ getobj _ _ (36) -
_ _ id _ _ (12) -
_ _ send _ _ (24) -
_ _ setobj _ _ (36) -
_ dump (12) -
_ getproperty (12) -
_ invoke (12) -
active
_ job? (6) - add (12)
- adjugate (12)
- all (12)
- allocate (12)
-
allow
_ nan? (12) - append (8)
-
arg
_ config (12) -
assert
_ empty (1) -
assert
_ includes (1) -
assert
_ instance _ of (1) -
assert
_ kind _ of (1) -
assert
_ nil (1) -
assert
_ respond _ to (1) - at (12)
- attr (12)
- begin (12)
- bind (12)
-
bind
_ call (12) -
body
_ stream (12) - bsearch (36)
- bytes (12)
- call (36)
-
chunk
_ while (12) - clamp (27)
- class (12)
-
class
_ eval (24) -
class
_ exec (12) -
class
_ variable _ get (12) -
class
_ variable _ set (12) - clone (12)
-
cofactor
_ expansion (12) - collect (36)
- column (24)
- comment= (12)
- component (24)
- concat (18)
- configure (12)
- conj (12)
- conjugate (12)
-
connect
_ from (12) -
connect
_ to (12) -
const
_ get (12) -
const
_ set (12) - context (12)
- convert (48)
- cooked (12)
- count (24)
- cover? (12)
-
create
_ extension (12) - cycle (24)
-
dc
_ subject (12) -
dc
_ subject= (12) -
dc
_ subjects (12) - deconstruct (12)
-
def
_ class (12) - default (36)
-
define
_ singleton _ method (24) - delete (132)
-
delete
_ at (12) -
delete
_ field (12) -
delete
_ observer (12) - deq (24)
- detect (12)
- dig (40)
- disable (12)
- disjoint? (12)
- display (12)
-
document
_ children (12) -
document
_ children= (12) -
document
_ self (12) -
document
_ self= (12) - dup (12)
- each (42)
-
each
_ entry (12) -
each
_ with _ object (24) - element (24)
- enable (12)
- encode (36)
- end (12)
- enq (12)
- entries (19)
-
enum
_ for (24) - eql? (12)
- equal? (24)
- eval (12)
- execute (96)
- exit (12)
- extend (12)
-
extend
_ object (12) - extended (12)
- feed (12)
- fetch (140)
-
fetch
_ spec (12) -
fetch
_ values (20) - field (12)
- filter (21)
-
filter
_ map (6) - find (12)
-
find
_ all (12) -
find
_ index (12) -
finish
_ all _ jobs (18) - first (48)
- flush (12)
- freeze (12)
- front (12)
- frozen? (12)
- getlocal (24)
- grep (24)
-
grep
_ v (24) - group (12)
- handler (12)
- handler= (12)
- hash (12)
- include? (12)
- indent= (12)
- index (7)
- initialize (12)
-
initialize
_ clone (12) -
initialize
_ copy (12) -
initialize
_ dup (12) - inject (48)
- inspect (12)
-
inspect
_ mode (12) -
instance
_ eval (24) -
instance
_ exec (12) -
instance
_ of? (12) -
instance
_ variable _ defined? (12) -
instance
_ variable _ get (12) -
instance
_ variable _ set (12) -
instance
_ variables (12) - invoke (12)
- irb (9)
-
irb
_ exit (12) -
is
_ a? (12) - item (12)
- jisx0301 (12)
- jj (12)
- join (72)
-
join
_ nowait (6) - key (20)
- keys (12)
- kill (6)
-
kill
_ job (6) -
kind
_ of? (12) -
laplace
_ expansion (12) - last (36)
- listen (12)
- ljust (12)
- ln (12)
-
load
_ file (12) -
load
_ specs (12) -
local
_ variable _ get (12) -
local
_ variable _ set (12) -
long
_ name (12) - lookup (12)
- mail (12)
- main (12)
- major (12)
- major= (12)
-
major
_ version (24) - map (24)
-
marshal
_ dump (12) -
marshal
_ load (24) - match (24)
- max (88)
-
max
_ by (12) - member? (12)
- merge (12)
- method (12)
-
method
_ missing (36) - methods (12)
- min (88)
-
min
_ by (12) - minmax (36)
-
minmax
_ by (12) -
module
_ eval (24) -
module
_ exec (12) -
mon
_ synchronize (18) -
mu
_ pp (1) -
must
_ be (1) -
must
_ be _ close _ to (1) -
must
_ be _ empty (1) -
must
_ be _ instance _ of (1) -
must
_ be _ kind _ of (1) -
must
_ be _ nil (1) -
must
_ be _ same _ as (1) -
must
_ be _ within _ delta (1) -
must
_ be _ within _ epsilon (1) -
must
_ equal (1) -
must
_ include (1) -
must
_ match (1) -
must
_ raise (1) -
must
_ respond _ to (1) -
must
_ send (1) -
must
_ throw (1) - new (12)
- next (12)
- nil? (12)
- noecho (12)
- nonblock (12)
- none? (15)
-
object
_ group (12) -
object
_ id (12) -
object
_ nl= (12) - oid (12)
-
ole
_ obj _ help (12) -
ole
_ type (12) -
on
_ XXX (12) -
on
_ default (12) - one? (15)
- open (12)
- pack (21)
- parameters (43)
- params (12)
- parent= (12)
-
parent
_ file _ name (12) -
parent
_ name (12) - parse (24)
- peek (12)
- pop (48)
- pp (24)
- ppx (12)
- prepend (8)
-
pretty
_ print (12) -
pretty
_ print _ cycle (12) -
pretty
_ print _ inspect (12) - print (36)
- printf (12)
- printn (12)
-
private
_ methods (12) -
protected
_ methods (12) -
psych
_ to _ yaml (12) -
psych
_ y (12) -
public
_ method (12) -
public
_ methods (12) -
public
_ send (24) - push (48)
- pushd (6)
- pushdir (6)
- putc (48)
- puts (48)
- raise (18)
- rand (36)
- rassoc (12)
- raw (12)
-
rcptto
_ list (12) - receiver (14)
-
recv
_ io (12) - reduce (36)
- reject (132)
- reject! (60)
-
remove
_ class _ variable (12) -
remove
_ const (12) -
remove
_ instance _ variable (12) - report (12)
-
respond
_ to? (12) -
respond
_ to _ missing? (12) - resume (12)
-
return
_ value (12) - rjust (12)
- sample (24)
-
scan
_ full (12) -
search
_ full (12) - section= (12)
- select (60)
- self (12)
- send (24)
- shelljoin (12)
- shift (48)
-
short
_ name (12) -
singleton
_ class (12) -
singleton
_ method (12) -
singleton
_ method _ added (12) -
singleton
_ method _ removed (12) -
singleton
_ method _ undefined (12) -
singleton
_ methods (12) - slice (12)
- slice! (12)
-
slice
_ when (23) - sn (12)
- sort (24)
-
sort
_ by (12) - space= (12)
-
space
_ before= (12) - start (40)
-
start
_ doc (12) -
start
_ job (6) -
stop
_ doc (12) - store (24)
- strftime (24)
- subject (12)
- subject= (24)
-
subject
_ certificate= (12) -
subject
_ request= (12) - sum (42)
-
sync
_ synchronize (6) - synchronize (36)
- syswrite (12)
- taint (9)
- tainted? (9)
- tap (8)
-
terminate
_ job (6) - text (24)
- then (14)
-
thread
_ variable _ get (12) - time (12)
- timeout (16)
-
to
_ a (37) -
to
_ ary (12) -
to
_ c (12) -
to
_ enum (24) -
to
_ int (12) -
to
_ json (252) -
to
_ json _ raw (12) -
to
_ s (12) -
to
_ str (12) -
to
_ yaml (12) - tojis (12)
- tokenize (12)
- tosjis (12)
-
trace
_ func (12) - transaction (12)
- transfer (12)
- trust (9)
- umask (6)
-
unconverted
_ fields? (12) - unpack (12)
- unpack1 (9)
- unshift (24)
- untaint (9)
- untrust (9)
- untrusted? (9)
- value (36)
- values (18)
-
values
_ at (36) -
waiting
_ job? (6) -
with
_ object (48) -
with
_ werror (24) - write (24)
-
write
_ nonblock (12) - xpopen (12)
- y (12)
-
yield
_ self (16) - zip (24)
- | (6)
検索結果
先頭5件
- Kernel
# j(*objects) -> nil - JSON
:: Generator :: GeneratorMethods :: Object # to _ json(state _ or _ hash = nil) -> String - 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
-
Kernel
# j(*objects) -> nil (18120.0) -
与えられたオブジェクトを JSON 形式の文字列で標準出力に一行で出力します。
...クトを JSON 形式の文字列で標準出力に一行で出力します。
@param objects JSON 形式で出力したいオブジェクトを指定します。
//emlist[例][ruby]{
require "json"
j([1,2,{"name" => "tanaka","age" => 19}])
# => [1,2,{"name":"tanaka","age":19}]
//}
@see Kernel.#... -
JSON
:: Generator :: GeneratorMethods :: Object # to _ json(state _ or _ hash = nil) -> String (9119.0) -
自身を to_s で文字列にした結果を JSON 形式の文字列に変換して返します。
...にした結果を JSON 形式の文字列に変換して返します。
このメソッドはあるオブジェクトに to_json メソッドが定義されていない場合に使用する
フォールバックのためのメソッドです。
@param state_or_hash 生成する JSON 形式の文......に 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 :: Array # to _ json(state _ or _ hash = nil) -> String (9107.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 (9107.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 (9107.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 (9107.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 (9107.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 (9107.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 :: String # to _ json(state _ or _ hash = nil) -> String (9107.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"
//}...