EZ JSON
by Nathanaël Cottin

org.ezjson
Interface JSONNumber

All Superinterfaces:
JSONValue
All Known Implementing Classes:
JSONInteger, JSONReal

public interface JSONNumber
extends JSONValue

Represents a JSON number, according the JSON specification. For practical reasons, this number is derived to JSON integer and JSON real types (which are not part of the specification)

Author:
ncottin

Method Summary
 boolean isInteger()
          Allows to check the actual type of this JSON number to simplify cast
 

Method Detail

isInteger

boolean isInteger()
Allows to check the actual type of this JSON number to simplify cast

Returns:
true only if this JSON number holds an integer (expressed as an int). false means that this number is a real (expressed as a double)

EZ JSON
by Nathanaël Cottin