Data formats
Json Format
JSON is the default format for reading / writing data to/from Orbital, so requires no special customization.
βUsing jsonPath() references
Deprecated
Using the
by jsonPath()
tag is deprecated.Field names in the model are now used to match elements and attributes
Itβs possible (but discouraged) to use by jsonPath("")
references to declare a field:
model Person {
firstName : FirstName by jsonPath("$.fName")
}