[java] How do I parse JSON into an int?