Maintenance of Ruby 2.0.0 ended on February 24, 2016. Read more

In Files

  • json/generator/generator.c

Methods

JSON::Ext::Generator::GeneratorMethods::Fixnum

Public Instance Methods

to_json(*) click to toggle source

Returns a JSON string representation for this Integer number.

 
               static VALUE mFixnum_to_json(int argc, VALUE *argv, VALUE self)
{
    GENERATE_JSON(fixnum);
}