JsonSerializable.<T>getObject Method

Definition

Overloads

<T>getObject(String propertyName, Class<T> c, boolean[] convertFromCamelCase)

Gets an object value.

getObject(String propertyName)

Gets a ObjectNode.

<T>getObject(String propertyName, Class<T> c, boolean[] convertFromCamelCase)

Gets an object value.

public T <T>getObject(String propertyName, Class<T> c, boolean[] convertFromCamelCase)

Parameters

propertyName
java.lang.String

the property to get.

c
java.lang.Class<T>

the class of the object. If c is a POJO class, it must be a member (and not an anonymous or local) and a static one.

convertFromCamelCase
boolean[]

boolean indicating if String should be converted from camel case to upper case separated by underscore, before converting to required class.

Returns

T

the object value.

getObject(String propertyName)

Gets a ObjectNode.

public ObjectNode getObject(String propertyName)

Parameters

propertyName
java.lang.String

the property to get.

Returns

com.fasterxml.jackson.databind.node.ObjectNode

the ObjectNode.

Applies to