@Retention(value=RUNTIME) @Target(value=FIELD) public @interface UnmappedJson
This property is considered transient (not mapped to a DB column) unlike @DbJson but will be
written to JSON output (unless it also annotated with @JsonIgnore).
Being JSON read and written means that in a document store only (ElasticSearch only) case it can hold all top level unmapped properties.
@UnmappedJson
Map<String,Object> unmapped;
Copyright © 2019. All rights reserved.