Function JSONNumber.longValue

Returns the number as a long value.

long longValue () nothrow @property @nogc @trusted const;

long longValue () const nothrow @property @trusted;

long longValue (
  long value
) nothrow @property @nogc @safe;

Regardless of the current type of this number, this property will always yield a value converted to long. Setting this property will automatically update the number type to Type.long_.