- Type Parameters:
T
- the type of entity bean
public interface JsonWriteBeanVisitor<T>
Allows for customising the JSON write processing.
You can use this to add raw JSON content via JsonWriter
.
You register a JsonWriteBeanVisitor with JsonWriteOptions
.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
visit
(T bean, JsonWriter jsonWriter) Visit the bean that has just been writing it's content to JSON.
-
Method Details
-
visit
Visit the bean that has just been writing it's content to JSON. You can write your own additional JSON content to the JsonWriter if you wish.- Parameters:
bean
- the bean that has been writing it's contentjsonWriter
- the JsonWriter which you can append custom json content to if you wish.
-