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")
}
Previous
CSV
Next
XML