T - the type of entity beanpublic interface JsonWriteBeanVisitor<T>
You can use this to add raw JSON content via JsonWriter.
You register a JsonWriteBeanVisitor with JsonWriteOptions.
JsonWriteOptions| Modifier and Type | Method and Description |
|---|---|
void |
visit(T bean,
JsonWriter jsonWriter)
Visit the bean that has just been writing it's content to JSON.
|
void visit(T bean, JsonWriter jsonWriter)
bean - the bean that has been writing it's contentjsonWriter - the JsonWriter which you can append custom json content to if you
wish.Copyright © 2019. All rights reserved.