File: //usr/local/rvm/gems/ruby-2.7.4/doc/activemodel-6.1.4.1/ri/ActiveModel/Errors/as_json-i.ri
U:RDoc::AnyMethod[iI"as_json:ETI" ActiveModel::Errors#as_json;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"IReturns a Hash that can be used as the JSON representation for this ;TI"Nobject. You can pass the <tt>:full_messages</tt> option. This determines ;TI"Oif the json object should contain full messages or not (false by default).;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"Pperson.errors.as_json # => {:name=>["cannot be nil"]}
;TI"Tperson.errors.as_json(full_messages: true) # => {:name=>["name cannot be nil"]};T:@format0:
@fileI"lib/active_model/errors.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(options = nil);T@FI"Errors;TcRDoc::NormalClass00