JSONValidator
Validates the syntax of JSON (JavaScript Object Notation) text.
Input Ports
Input features that contain the JSON text attributes.
Output Ports
Features that contain formatted JSON text.
Features that contain invalid JSON text.
Parameters
Source
Allows for selecting between one of two options for JSON input: JSON Document or File/URL
If selected, The JSON document can come from any string expression, including attribute values and workspace parameters.
If selected, the JSON source can be read from a local file at a specified file path, or from the internet at a specified URL.
Parameters
This parameter names the list attribute that will contain information on JSON validation errors. The features that exit the transformer through the Failed output port will have validation errors listed in this list attribute.
Each validation error message is made up of four parts:
- error description
- line number where the error occurred
- column number where the error occurred
- error type/severity
FME Licensing Level
FME Professional edition and above
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.
Transformer Categories
Search FME Knowledge Center
Search for samples and information about this transformer on the FME Knowledge Center.