Module: JSON::Ext::Generator::GeneratorMethods::NilClass (Ruby 2.3.4)

JSON::Ext::Generator::GeneratorMethods::NilClass

Public Instance Methods

to_json(*)

Returns a JSON string for nil: ‘null’.

 
               static VALUE mNilClass_to_json(int argc, VALUE *argv, VALUE self)
{
    GENERATE_JSON(null);
}