るりまサーチ

最速Rubyリファレンスマニュアル検索!
12件ヒット [1-12件を表示] (0.166秒)
トップページ > クエリ:t[x] > クエリ:r[x] > 種類:インスタンスメソッド[x] > クエリ:-[x] > ライブラリ:json/add/time[x]

別のキーワード

  1. openssl t61string
  2. asn1 t61string
  3. matrix t
  4. t61string new
  5. fiddle type_size_t

クラス

検索結果

Time#to_json(*args) -> String (6303.0)

自身を JSON 形式の文字列に変換して返します。

...から JSON::Generator::GeneratorMethods::Hash#to_json を呼び出しています。

@param args 引数はそのまま JSON::Generator::GeneratorMethods::Hash#to_json に渡されます。

//emlist[例][ruby]{
r
equire "json/add/core"

T
ime.now.to_json # => "{\"json_class\":\"Time\",\"s\":15449686...
...75,\"n\":676167000}"
//}

@see JSON::Generator::GeneratorMethods::Hash#to_json...