Returns an integer value at the given path with a fallback.
Example:
int count = Json.getInt (root, "$.count", 0);
| root |
root value. |
| path |
JSON path expression. |
| fallback |
value to return if path not found or type mismatch. |
|
integer value or fallback. |