Package | Description |
---|---|
io.ebean.text.json |
JSON formatting and parsing objects (See JsonContext).
|
Modifier and Type | Method and Description |
---|---|
static JsonWriteOptions |
JsonWriteOptions.parsePath(String pathProperties)
Parse and return a PathProperties from nested string format like
(a,b,c(d,e),f(g)) where "c" is a path containing "d" and "e" and "f" is a
path containing "g" and the root path contains "a","b","c" and "f".
|
static JsonWriteOptions |
JsonWriteOptions.pathProperties(FetchPath pathProperties)
Construct JsonWriteOptions with the given pathProperties.
|
JsonWriteOptions |
JsonWriteOptions.setPathVisitor(String path,
JsonWriteBeanVisitor<?> visitor)
Register a JsonWriteBeanVisitor for the given path.
|
JsonWriteOptions |
JsonWriteOptions.setRootPathVisitor(JsonWriteBeanVisitor<?> visitor)
Register a JsonWriteBeanVisitor for the root level.
|
Modifier and Type | Method and Description |
---|---|
void |
JsonContext.toJson(Object value,
com.fasterxml.jackson.core.JsonGenerator generator,
JsonWriteOptions options)
Deprecated in favour of using PathProperties by itself.
|
String |
JsonContext.toJson(Object value,
JsonWriteOptions options)
Deprecated in favour of using PathProperties by itself.
|
void |
JsonContext.toJson(Object value,
Writer writer,
JsonWriteOptions options)
Deprecated in favour of using PathProperties by itself.
|
Copyright © 2019. All rights reserved.