--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Coerces the date to a string for JSON encoding.
- !ruby/struct:SM::Flow::P 
  body: ISO 8601 format is used if ActiveSupport::JSON::Encoding.use_standard_json_time_format is set.
- !ruby/struct:SM::Flow::H 
  level: 4
  text: Examples
- !ruby/struct:SM::Flow::VERB 
  body: "  # With ActiveSupport::JSON::Encoding.use_standard_json_time_format = true\n  Time.utc(2005,2,1,15,15,10).in_time_zone.to_json\n  # =&gt; &quot;2005-02-01T15:15:10Z&quot;\n\n  # With ActiveSupport::JSON::Encoding.use_standard_json_time_format = false\n  Time.utc(2005,2,1,15,15,10).in_time_zone.to_json\n  # =&gt; &quot;2005/02/01 15:15:10 +0000&quot;\n"
full_name: ActiveSupport::TimeWithZone#as_json
is_singleton: false
name: as_json
params: (options = nil)
visibility: public
