Uses of Class
io.ebean.text.json.JsonReadOptions
| Package | Description |
|---|---|
| io.ebean.text.json |
JSON formatting and parsing objects (See JsonContext).
|
-
Uses of JsonReadOptions in io.ebean.text.json
Methods in io.ebean.text.json that return JsonReadOptions Modifier and Type Method Description JsonReadOptionsJsonReadOptions. addRootVisitor(JsonReadBeanVisitor<?> visitor)Register a JsonReadBeanVisitor for the root level.JsonReadOptionsJsonReadOptions. addVisitor(String path, JsonReadBeanVisitor<?> visitor)Register a JsonReadBeanVisitor for a given path.JsonReadOptionsJsonReadOptions. setEnableLazyLoading(boolean enableLazyLoading)Set to true to enable lazy loading on partially populated beans.JsonReadOptionsJsonReadOptions. setObjectMapper(Object objectMapper)Set the Jackson ObjectMapper to use (if not wanted to use the objectMapper set on the DatabaseConfig).JsonReadOptionsJsonReadOptions. setPersistenceContext(PersistenceContext persistenceContext)Set the persistence context to use when building the object graph from the JSON.Methods in io.ebean.text.json with parameters of type JsonReadOptions Modifier and Type Method 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> TJsonContext. 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> TJsonContext. toBean(Class<T> rootType, Reader json, JsonReadOptions options)Convert json reader input into a Bean of a specific type additionally using JsonReadOptions.<T> TJsonContext. 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.