82件ヒット
[1-82件を表示]
(0.027秒)
種類
- 定数 (33)
- モジュール (22)
- 文書 (16)
- インスタンスメソッド (11)
ライブラリ
- json (66)
モジュール
- JSON (33)
-
JSON
:: Generator :: GeneratorMethods :: Float (11)
キーワード
- Infinity (11)
- MinusInfinity (11)
-
NEWS for Ruby 2
. 0 . 0 (11) -
NEWS for Ruby 2
. 7 . 0 (5) - NaN (11)
-
to
_ json (11)
検索結果
先頭5件
-
JSON
:: Ext :: Generator :: GeneratorMethods :: Float (35048.0) -
Alias of JSON::Generator::GeneratorMethods::Float
...Alias of JSON::Generator::GeneratorMethods::Float... -
JSON
:: Generator :: GeneratorMethods :: Float (35048.0) -
Float に JSON で使用するインスタンスメソッドを追加するためのモジュールです。
...Float に JSON で使用するインスタンスメソッドを追加するためのモジュールです。... -
JSON
:: Generator :: GeneratorMethods :: Float # to _ json(state _ or _ hash = nil) -> String (23147.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
:: Infinity -> Float (17214.0) -
正の無限大を表します。
...正の無限大を表します。
@see Float... -
JSON
:: MinusInfinity -> Float (17214.0) -
負の無限大を表します。
...負の無限大を表します。
@see Float... -
JSON
:: NaN -> Float (17214.0) -
NaN (Not a Number) を表します。
...NaN (Not a Number) を表します。
@see Float... -
NEWS for Ruby 2
. 7 . 0 (48.0) -
NEWS for Ruby 2.7.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...ingPatternError
//}
//emlist{
json = <<END
{
"name": "Alice",
"age": 30,
"children": [{ "name": "Bob", "age": 2 }]
}
END
JSON.parse(json, symbolize_names: true) in {name: "Alice", children: [{name: name, age: age}]}
p name #=> "Bob"
p age #=> 2
JSON.parse(json, symbolize_names: true) in {......めにRangeをイテレートしていました。
今はRange#maxと同じアルゴリズムを使います。稀なケース(例えば
FloatやStringのRange)では違う結果になるかもしれません。 15807
=== 標準添付ライブラリの互換性 (機能追加とバグ修... -
NEWS for Ruby 2
. 0 . 0 (30.0) -
NEWS for Ruby 2.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...* 非推奨: IO#lines, #bytes, #chars, #codepoints
* Kernel
* 追加: Kernel.#Hash という変換メソッド。Kernel.#Array, Kernel.#Float に似ています
* 追加: Kernel.#__dir__ 現在のソースファイル(__FILE__)のあるディレクトリ名を正規化された絶対......eql?
* 削除されました。2つの Proc オブジェクトは同じオブジェクトである場合のみ等しい。
* Fixnum, Bignum, Float
* フリーズされました。
* Signal.trap
* 上を参照
* Onigmo をマージしました。
https://github.com/k-takata/O......:min, :time を受け付けます。
* io/wait
* 追加: IO#wait_writable
* 追加: IO#wait_readable は IO#wait の別名です。
* json
* 1.7.7 に更新
* net/http
* 新機能
* Proxies are now automatically detected from the http_proxy environment
variabl...