5065件ヒット
[1-100件を表示]
(0.139秒)
別のキーワード
ライブラリ
- ビルトイン (2569)
- benchmark (24)
-
cgi
/ session (12) - csv (72)
- date (24)
- delegate (84)
- digest (12)
-
drb
/ gw (12) - erb (12)
- fiber (8)
- fiddle (12)
- gdbm (36)
-
io
/ console (12) -
io
/ nonblock (12) -
irb
/ cmd / chws (24) -
irb
/ cmd / pushws (36) -
irb
/ cmd / subirb (36) -
irb
/ context (12) -
irb
/ extend-command (12) -
irb
/ output-method (72) - 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 / 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) - matrix (120)
-
minitest
/ spec (12) -
minitest
/ unit (7) - mkmf (48)
-
net
/ http (12) -
net
/ pop (48) -
net
/ smtp (28) - observer (12)
- openssl (72)
- optparse (12)
- ostruct (34)
- pathname (12)
- pp (48)
- prettyprint (36)
- prime (36)
- pstore (48)
- psych (84)
- rake (24)
-
rdoc
/ code _ object (60) -
rdoc
/ markup (12) -
rexml
/ document (96) -
rexml
/ parsers / pullparser (24) -
rinda
/ tuplespace (12) -
ripper
/ filter (36) -
rubygems
/ config _ file (24) -
rubygems
/ spec _ fetcher (24) -
rubygems
/ timer (12) - sdbm (12)
- set (9)
- shell (24)
-
shell
/ command-processor (6) -
shell
/ filter (12) -
shell
/ process-controller (30) - socket (48)
- stringio (96)
- strscan (24)
- sync (12)
- thread (18)
- thwait (12)
- timeout (16)
- weakref (12)
-
webrick
/ cgi (12) -
webrick
/ httpversion (24) -
webrick
/ log (12) - win32ole (108)
-
yaml
/ dbm (96) - zlib (36)
クラス
-
ARGF
. class (12) - Addrinfo (36)
- Array (385)
- BasicObject (144)
-
Benchmark
:: Job (24) - BigDecimal (12)
- Binding (36)
-
CGI
:: Session (12) - CSV (36)
-
CSV
:: Row (36) - Class (12)
- Complex (12)
-
DRb
:: GW (12) - Date (24)
- DateTime (24)
- Delegator (60)
- ERB (12)
- Enumerator (60)
- Exception (12)
- Fiber (42)
-
Fiddle
:: Closure :: BlockCaller (12) - GDBM (36)
-
Gem
:: ConfigFile (24) -
Gem
:: SpecFetcher (24) - Hash (169)
- IO (60)
-
IRB
:: Context (12) -
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
:: State (72) - Matrix (84)
- Method (56)
- Module (180)
-
Net
:: HTTPGenericRequest (12) -
Net
:: POP3 (12) -
Net
:: POPMail (36) -
Net
:: SMTP (28) - Object (537)
-
ObjectSpace
:: WeakMap (24) -
OpenSSL
:: X509 :: Certificate (12) -
OpenSSL
:: X509 :: ExtensionFactory (36) -
OpenSSL
:: X509 :: Request (12) - OpenStruct (46)
- OptionParser (12)
- PP (24)
- PStore (48)
- Pathname (12)
- PrettyPrint (36)
- Prime (12)
-
Prime
:: PseudoPrimeGenerator (24) - Proc (12)
-
Psych
:: ScalarScanner (12) -
Psych
:: Visitors :: YAMLTree (24) -
RDoc
:: CodeObject (60) -
RDoc
:: Markup (12) -
REXML
:: Attribute (12) -
REXML
:: Elements (24) -
REXML
:: Parent (60) -
REXML
:: Parsers :: PullEvent (24) -
Rake
:: TaskArguments (24) - Random (48)
- Range (213)
- Rational (12)
- Regexp (24)
-
Rinda
:: TupleEntry (12) -
Ripper
:: Filter (36) - SDBM (12)
- Set (12)
- Shell (24)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (12) -
Shell
:: ProcessController (30) - SimpleDelegator (12)
- String (72)
- StringIO (96)
- StringScanner (24)
- Struct (46)
- Symbol (12)
- Thread (44)
-
Thread
:: Queue (36) -
Thread
:: SizedQueue (72) - ThreadsWait (12)
- Time (48)
- TracePoint (7)
- UNIXSocket (12)
- UnboundMethod (24)
- Vector (36)
-
WEBrick
:: BasicLog (12) -
WEBrick
:: CGI (12) -
WEBrick
:: HTTPVersion (24) - WIN32OLE (60)
-
WIN32OLE
_ EVENT (12) -
WIN32OLE
_ PARAM (12) -
WIN32OLE
_ VARIANT (24) - WeakRef (12)
-
YAML
:: DBM (96) -
Zlib
:: Deflate (12) -
Zlib
:: GzipWriter (24)
モジュール
- Comparable (15)
- Enumerable (328)
-
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 (12) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (12) - Kernel (160)
-
MiniTest
:: Assertions (7) - Observable (12)
-
OpenSSL
:: Buffering (12) -
Sync
_ m (12)
キーワード
- != (24)
- !~ (12)
- << (84)
- == (36)
- === (37)
- =~ (9)
- DelegateClass (12)
- Digest (12)
- JSON (12)
- [] (270)
- []= (36)
-
_ _ send _ _ (24) -
_ _ setobj _ _ (36) -
_ dump (12) -
_ getproperty (12) -
_ invoke (12) -
active
_ job? (6) - add (12)
- all (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)
- begin (12)
- bind (12)
-
body
_ stream (12) - bytes (12)
- call (36)
- clamp (15)
-
class
_ eval (24) -
class
_ exec (12) -
class
_ variable _ get (12) -
class
_ variable _ set (12) - clone (12)
-
cofactor
_ expansion (12) - collect (12)
- column (24)
- comment= (12)
- component (24)
- configure (12)
-
connect
_ from (12) -
connect
_ to (12) -
const
_ get (12) -
const
_ set (12) - convert (48)
- count (24)
- cover? (12)
-
create
_ extension (12) - cycle (12)
-
def
_ class (12) - default (36)
-
define
_ singleton _ method (24) - delete (120)
-
delete
_ at (12) -
delete
_ field (12) -
delete
_ observer (12) - deq (24)
- detect (12)
- dig (40)
- disjoint? (12)
- display (12)
-
document
_ children= (12) -
document
_ self= (12) - dup (12)
- each (36)
-
each
_ with _ object (24) - element (24)
- encode (36)
- end (12)
- enq (12)
- entries (12)
-
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)
- find (12)
-
find
_ index (12) - first (48)
- flush (12)
- getlocal (24)
- grep (24)
-
grep
_ v (24) - group (12)
- handler= (12)
- include? (12)
- indent= (12)
- index (7)
- initialize (12)
- inject (48)
-
instance
_ eval (24) -
instance
_ exec (12) -
instance
_ of? (12) -
instance
_ variable _ defined? (12) -
instance
_ variable _ get (12) -
instance
_ variable _ set (12) - invoke (12)
-
irb
_ exit (12) -
is
_ a? (12) - item (12)
- jisx0301 (12)
- jj (12)
- join (72)
-
join
_ nowait (6) - key (12)
- kill (6)
-
kill
_ job (6) -
kind
_ of? (12) -
laplace
_ expansion (12) - last (36)
- listen (12)
- ljust (12)
-
load
_ file (12) -
load
_ specs (12) -
local
_ variable _ get (12) -
local
_ variable _ set (12) - lookup (12)
- mail (12)
- major (12)
- major= (12)
-
marshal
_ load (24) - match (12)
- max (86)
-
max
_ by (12) - member? (12)
- merge (12)
- method (12)
-
method
_ missing (36) - methods (12)
- min (86)
-
min
_ by (12) -
module
_ eval (24) -
module
_ exec (12) -
mu
_ pp (1) -
must
_ be _ close _ to (1) -
must
_ be _ instance _ of (1) -
must
_ be _ kind _ of (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
_ throw (1) - new (12)
- nonblock (12)
- none? (15)
-
object
_ group (12) -
object
_ nl= (12) -
on
_ XXX (12) -
on
_ default (12) - one? (15)
- pack (21)
- parameters (43)
- params (12)
- parent= (12)
- parse (12)
- pop (48)
- pp (24)
- ppx (12)
- prepend (8)
-
pretty
_ print (12) -
pretty
_ print _ cycle (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) -
recv
_ io (12) - reduce (36)
- reject (12)
-
remove
_ class _ variable (12) -
remove
_ const (12) -
remove
_ instance _ variable (12) - report (12)
-
respond
_ to? (12) -
respond
_ to _ missing? (12) - resume (12)
- rjust (12)
- sample (24)
-
scan
_ full (12) -
search
_ full (12) - section= (12)
- select (24)
- 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) - start (28)
-
start
_ job (6) - store (24)
- strftime (24)
- subject= (24)
-
subject
_ certificate= (12) -
subject
_ request= (12) -
sync
_ synchronize (6) - synchronize (6)
- syswrite (12)
-
terminate
_ job (6) - text (24)
- time (12)
- timeout (16)
-
to
_ a (12) -
to
_ enum (24) -
to
_ json (252) -
to
_ yaml (12) - tokenize (12)
- transaction (12)
- transfer (12)
- unpack (12)
- unshift (24)
-
values
_ at (36) -
waiting
_ job? (6) -
with
_ object (48) -
with
_ werror (24) - write (24)
-
write
_ nonblock (12) - xpopen (12)
- y (12)
- zip (24)
- | (6)
検索結果
先頭5件
- Kernel
# j(*objects) -> nil - 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
-
Kernel
# j(*objects) -> nil (18114.0) -
与えられたオブジェクトを JSON 形式の文字列で標準出力に一行で出力します。
...与えられたオブジェクトを JSON 形式の文字列で標準出力に一行で出力します。
@param objects JSON 形式で出力したいオブジェクトを指定します。
//emlist[例][ruby]{
require "json"
j([1,2,{"name" => "tanaka","age" => 19}])
# => [1,2,{"name":"tanaka","... -
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 :: Object # to _ json(state _ or _ hash = nil) -> String (9107.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 :: 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"
//}...