Skip to content

Transform Attributes

Davi Paulino edited this page May 5, 2017 · 1 revision

Attributes are advanced methods to specify behaviors that cannot be achieved through the default transformation. Any transformation can be an object containing valid attributes for that transformation. Attributes outside of transformations are not allowed and generate errors.

Path

Use JSONPath syntax to navigate to the node where the transform should be applied.

Use: "@jdt.path" : <Value> (Case sensitive)

Value must be a string with a valid JSONPath. Any other type generates an error. If the path does not match any nodes, the transformation is not performed.

All JDT Paths are relative to the node that they're in.

For more information on JSONPath syntax, see here

Value

The transformation value that should be applied.

Use: "@jdt.value" : <Value> (Case sensitive)

Value depends on the syntax of the transformation verb. See Transformation Verbs.