List of usage examples for com.fasterxml.jackson.core JsonParser getBooleanValue
public boolean getBooleanValue() throws IOException, JsonParseException
From source file:org.hippoecm.frontend.service.restproxy.custom.json.deserializers.AnnotationJsonDeserializer.java
protected Boolean[] deserializeBooleanArrayAnnotationAttribute(JsonParser jsonParser) throws JsonParseException, IOException { List<Boolean> booleanArray = new ArrayList<Boolean>(); while (jsonParser.nextToken() != JsonToken.END_ARRAY) { booleanArray.add(jsonParser.getBooleanValue()); }/*from w w w . ja v a 2s . c o m*/ return booleanArray.toArray(new Boolean[booleanArray.size()]); }