Play! Framework -- Parsing JSON
tl;dr I suggest using ObjectMapper found in the com.fasterxml.jackson.databind.ObjectMapper ObjectMapper mapper = new ObjectMapper(); try { JsonNode root = request().body().asJson(); JsonNode jsonPhoneNumbers = root.get("phoneNumbers"); for(JsonNode phoneNumberString : jsonPhoneNumbers) { String phoneNumber = phoneNumberString.asText(); } catch (NullPointerException npe) { // No valid phone numbers were provided } Using ObjectMapper For parsing arrays in JSON requests, I suggest using the ObjectMapper. Assuming you have a request that looks like: { "phoneNumbers": [ "555-555-5555", "555-555-5556", "555-555-5557" ] } We can easily access the phone number values by using ObjectMapper class....