Module: JSON::Ext::Generator::GeneratorMethods::Integer

Defined in:
generator/generator.c

Instance Method Summary collapse

Instance Method Details

#to_json(*) ⇒ Object

Returns a JSON string representation for this Integer number.



362
363
364
365
# File 'generator/generator.c', line 362

static VALUE mInteger_to_json(int argc, VALUE *argv, VALUE self)
{
    GENERATE_JSON(integer);
}