Support for the Ruby 2.4 series has ended. See here for reference.

In Files

  • json/generator/generator.c

Methods

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

Public Instance Methods

to_json(*) click to toggle source

Returns a JSON string representation for this Integer number.

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