Package | Description |
---|---|
io.ebean.text.json |
JSON formatting and parsing objects (See JsonContext).
|
io.ebeanservice.docstore.api |
The service API for document store integration.
|
Modifier and Type | Method and Description |
---|---|
JsonReadOptions |
JsonReadOptions.addRootVisitor(JsonReadBeanVisitor<?> visitor)
Register a JsonReadBeanVisitor for the root level.
|
JsonReadOptions |
JsonReadOptions.addVisitor(String path,
JsonReadBeanVisitor<?> visitor)
Register a JsonReadBeanVisitor for a given path.
|
JsonReadOptions |
JsonReadOptions.setEnableLazyLoading(boolean enableLazyLoading)
Set to true to enable lazy loading on partially populated beans.
|
JsonReadOptions |
JsonReadOptions.setObjectMapper(Object objectMapper)
Set the Jackson ObjectMapper to use (if not wanted to use the objectMapper set on the ServerConfig).
|
JsonReadOptions |
JsonReadOptions.setPersistenceContext(PersistenceContext persistenceContext)
Set the persistence context to use when building the object graph from the JSON.
|
Modifier and Type | Method and Description |
---|---|
<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> 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.
|
Modifier and Type | Method and Description |
---|---|
JsonReadOptions |
DocQueryRequest.createJsonReadOptions()
Create JsonReadOptions taking into account persistence context and lazy loading support.
|
Copyright © 2019. All rights reserved.