jsonp-api
jsonp-api copied to clipboard
getLong and isType for JsonObject
I am wondering if it is possible to add a getLong() method in the JsonObject interface and is also is possible to add is type which check if the specified Object/Array/etc is given
You can obtain the long value in this way:
JsonObject.getJsonNumber(name).longValue()