JezK
Edit File: ignore_nil%21-i.ri
U:RDoc::AnyMethod[iI"ignore_nil!:EFI"Jbuilder#ignore_nil!;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"MIf you want to skip adding nil values to your JSON hash. This is useful ;TI"Mfor JSON clients that don't deal well with nil values, and would prefer ;TI"0not to receive keys which have null values.;To:RDoc::Markup::BlankLine o; ; [I" Example:;To:RDoc::Markup::Verbatim; [I"json.ignore_nil! false ;TI"json.id User.new.id ;TI" ;TI"{ "id": null } ;TI" ;TI"json.ignore_nil! ;TI"json.id User.new.id ;TI" ;TI"{};T:@format0: @fileI"lib/jbuilder.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(value = true);T@FI" Jbuilder;TcRDoc::NormalClass00