11件ヒット
[1-11件を表示]
(0.060秒)
トップページ > :Class#new > :extend > :each_object > :String > :JSON::Generator::GeneratorMethods::TrueClass
ライブラリ
- json (11)
検索結果
-
JSON
:: Generator :: GeneratorMethods :: TrueClass # to _ json(state _ or _ hash = nil) -> String (3007.0) -
自身から生成した JSON 形式の文字列を返します。
...る JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指定します。
//emlist[例][ruby]{
require "json"
true.to_json # => "true"
//}...