1件ヒット
[1-1件を表示]
(0.049秒)
トップページ >
:Class#new
>
:extend
>
:GeneralizedTime
>
:JSON::Generator::GeneratorMethods::TrueClass
>
:3.3
![クエリ クエリ](/images/query-icon.png)
![条件を削除 [x]](/images/drop-condition-icon.png)
![クエリ クエリ](/images/query-icon.png)
![条件を削除 [x]](/images/drop-condition-icon.png)
![クエリ クエリ](/images/query-icon.png)
![条件を削除 [x]](/images/drop-condition-icon.png)
![モジュール モジュール](/images/module-icon.png)
![条件を削除 [x]](/images/drop-condition-icon.png)
![バージョン バージョン](/images/version-icon.png)
![条件を削除 [x]](/images/drop-condition-icon.png)
別のキーワード
ライブラリ
- json (1)
検索結果
-
JSON
:: Generator :: GeneratorMethods :: TrueClass # to _ json(state _ or _ hash = nil) -> String (9022.0) -
自身から生成した JSON 形式の文字列を返します。
自身から生成した JSON 形式の文字列を返します。
"true" という文字列を返します。
@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指定します。
//emlist[例][ruby]{
require "json"
true.to_json # => "true"
//}