PATH:
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Exception
U:RDoc::AnyMethod[iI"as_json:ETI"Exception#as_json;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"PMethods <tt>Exception#as_json</tt> and +Exception.json_create+ may be used ;TI"7to serialize and deserialize a \Exception object; ;TI"#see Marshal[rdoc-ref:Marshal].;To:RDoc::Markup::BlankLine o; ; [I";\Method <tt>Exception#as_json</tt> serializes +self+, ;TI"4returning a 2-element hash representing +self+:;T@o:RDoc::Markup::Verbatim; [I""require 'json/add/exception' ;TI"]x = Exception.new('Foo').as_json # => {"json_class"=>"Exception", "m"=>"Foo", "b"=>nil} ;T:@format0o; ; [I"S\Method +JSON.create+ deserializes such a hash, returning a \Exception object:;T@o;; [I"4Exception.json_create(x) # => #<Exception: Foo>;T; 0: @fileI"'ext/json/lib/json/add/exception.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(*);T@FI"Exception;TcRDoc::NormalClass00
[-] set_backtrace-i.ri
[edit]
[-] to_s-i.ri
[edit]
[-] to_tty%3f-c.ri
[edit]
[-] to_json-i.ri
[edit]
[-] exception-c.ri
[edit]
[-] message-i.ri
[edit]
[-] exception-i.ri
[edit]
[-] as_json-i.ri
[edit]
[-] backtrace_locations-i.ri
[edit]
[-] new-c.ri
[edit]
[-] cause-i.ri
[edit]
[-] json_create-c.ri
[edit]
[-] full_message-i.ri
[edit]
[-] backtrace-i.ri
[edit]
[-] cdesc-Exception.ri
[edit]
[+]
..
[-] %3d%3d-i.ri
[edit]
[-] inspect-i.ri
[edit]
[-] detailed_message-i.ri
[edit]