Module org.apache.johnzon.mapper
Package org.apache.johnzon.mapper
Annotation Type JohnzonVirtualObject
Example: @JohnzonVirtualObject(path = {"nested", "nested-again"}, field = { "a", "b" })
will generate {"nested":{"nested-again":{"a":"xxx", "b": "yyy"}}}
-
Nested Class Summary
Nested Classes -
Required Element Summary
Required Elements
-
Element Details
-
path
String[] path- Returns:
- the virtual object(s) path.
-
fields
JohnzonVirtualObject.Field[] fields- Returns:
- the list of fields to consider.
-