Apologies, code is below:
out.write(result.path("primaryContacts").path("type").getTextValue() + ";");
out.write(result.path("primaryContacts").path("value").getTextValue() + ";");
↧