The source JSON document. The JSON document can come from any string expression, including attribute values and workspace parameters.
This parameter identifies the feature attribute into which the result of the JSON query should be put.
This parameter is the JSON query whose value will be stored in the target attribute.
A value in an array can be referred to using its zero-based position in the array (for example, json for the third element).
A value in an object can be referred to using its object key name
All of the values in an array or object can be collectively referred to using a wildcard index
The query used by this transformer can have multiple expressions, which are separated by a '+' operator, as well as string literal values. This allows more complex attribute values to be easily created from the JSON text. For example:
json["name"]["first"] + " " + json["name"]["last"]
If the JSON query cannot be fully evaluated, a message will be logged, and the feature will be output without setting the target attribute.
Editing Transformer Parameters
Using a set of menu options, transformer parameters can be assigned by referencing other elements in the workspace. More advanced functions, such as an advanced editor and an arithmetic editor, are also available in some transformers. To access a menu of these options, click beside the applicable parameter. For more information, see Transformer Parameter Menu Options.
FME Licensing Level
FME Professional edition and above
Search FME Knowledge Center
Search for samples and information about this transformer on the FME Knowledge Center.