File: //usr/local/rvm/gems/ruby-3.0.2/doc/activesupport-6.1.4.1/ri/ActiveSupport/JSON/parse_error-c.ri
U:RDoc::AnyMethod[iI"parse_error:ETI"%ActiveSupport::JSON::parse_error;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"IReturns the class of the error that will be raised when there is an ;TI"Herror in decoding JSON. Using this method means you won't directly ;TI"Kdepend on the ActiveSupport's JSON implementation, in case it changes ;TI"in the future.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [
I"begin
;TI"5 obj = ActiveSupport::JSON.decode(some_string)
;TI",rescue ActiveSupport::JSON.parse_error
;TI"M Rails.logger.warn("Attempted to decode invalid JSON: #{some_string}")
;TI"end;T:@format0:
@fileI"(lib/active_support/json/decoding.rb;T:0@omit_headings_from_table_of_contents_below000[ I"();T@FI" JSON;TcRDoc::NormalModule00