File: //usr/local/rvm/gems/default/doc/activesupport-6.1.4.1/ri/ActiveSupport/TimeWithZone/as_json-i.ri
U:RDoc::AnyMethod[iI"as_json:ETI"(ActiveSupport::TimeWithZone#as_json;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"QCoerces time to a string for JSON encoding. The default format is ISO 8601. ;TI"<You can get %Y/%m/%d %H:%M:%S +offset style by setting ;TI"J<tt>ActiveSupport::JSON::Encoding.use_standard_json_time_format</tt> ;TI"to +false+.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"O# With ActiveSupport::JSON::Encoding.use_standard_json_time_format = true
;TI"@Time.utc(2005,2,1,15,15,10).in_time_zone("Hawaii").to_json
;TI"*# => "2005-02-01T05:15:10.000-10:00"
;TI"
;TI"P# With ActiveSupport::JSON::Encoding.use_standard_json_time_format = false
;TI"@Time.utc(2005,2,1,15,15,10).in_time_zone("Hawaii").to_json
;TI"%# => "2005/02/01 05:15:10 -1000";T:@format0:
@fileI")lib/active_support/time_with_zone.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(options = nil);T@FI"TimeWithZone;TcRDoc::NormalClass00