Uses of Class
io.ebean.text.json.JsonReadOptions
-
Uses of JsonReadOptions in io.ebean.text.json
Modifier and TypeMethodDescriptionJsonReadOptions.addRootVisitor
(JsonReadBeanVisitor<?> visitor) Register a JsonReadBeanVisitor for the root level.JsonReadOptions.addVisitor
(String path, JsonReadBeanVisitor<?> visitor) Register a JsonReadBeanVisitor for a given path.JsonReadOptions.setEnableLazyLoading
(boolean enableLazyLoading) Set to true to enable lazy loading on partially populated beans.JsonReadOptions.setObjectMapper
(Object objectMapper) Set the Jackson ObjectMapper to use (if not wanted to use the objectMapper set on the DatabaseConfig).JsonReadOptions.setPersistenceContext
(PersistenceContext persistenceContext) Set the persistence context to use when building the object graph from the JSON.Modifier and TypeMethodDescription<T> JsonBeanReader<T>
JsonContext.createBeanReader
(BeanType<T> beanType, com.fasterxml.jackson.core.JsonParser parser, JsonReadOptions options) Create and return a new bean reading for the bean type given the JSON options and source.<T> JsonBeanReader<T>
JsonContext.createBeanReader
(Class<T> cls, com.fasterxml.jackson.core.JsonParser parser, JsonReadOptions options) Create and return a new bean reading for the bean type given the JSON options and source.<T> T
JsonContext.toBean
(Class<T> cls, com.fasterxml.jackson.core.JsonParser parser, JsonReadOptions options) Convert json parser input into a Bean of a specific type additionally using JsonReadOptions..<T> T
JsonContext.toBean
(Class<T> rootType, Reader json, JsonReadOptions options) Convert json reader input into a Bean of a specific type additionally using JsonReadOptions.<T> T
JsonContext.toBean
(Class<T> rootType, String json, JsonReadOptions options) Convert json string input into a Bean of a specific type additionally using JsonReadOptions.<T> void
JsonContext.toBean
(T target, com.fasterxml.jackson.core.JsonParser parser, JsonReadOptions options) Read json parser input into a given Bean additionally using JsonReadOptions.
SeeJsonContext.toBean(Class, JsonParser)
for details modified.<T> void
JsonContext.toBean
(T target, Reader json, JsonReadOptions options) Read json reader input into a given Bean additionally using JsonReadOptions.
SeeJsonContext.toBean(Class, JsonParser)
for details modified.<T> void
JsonContext.toBean
(T target, String json, JsonReadOptions options) Read json string input into a given Bean additionally using JsonReadOptions.
SeeJsonContext.toBean(Class, JsonParser)
for details<T> List<T>
JsonContext.toList
(Class<T> cls, com.fasterxml.jackson.core.JsonParser json, JsonReadOptions options) Convert json parser input into a list of beans of a specific type additionally using JsonReadOptions.<T> List<T>
JsonContext.toList
(Class<T> rootType, Reader json, JsonReadOptions options) Convert json reader input into a list of beans of a specific type additionally using JsonReadOptions.<T> List<T>
JsonContext.toList
(Class<T> rootType, String json, JsonReadOptions options) Convert json string input into a list of beans of a specific type additionally using JsonReadOptions.