JSONValidator
Validates the syntax of JSON (JavaScript Object Notation) text.
输入端口
Input features that contain the JSON text attributes.
Output Ports
Features that contain formatted JSON text.
Features that contain invalid JSON text.
Parameters
来源
Allows for selecting between one of two options for JSON input:JSON DocumentorFile/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 theFailedoutput 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
- 发生错误的列数
- error type/severity
FME Licensing Level
FME Professional edition and above
Editing Transformer Parameters
使用一组菜单选项,变压器参数s 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, clickbeside the applicable parameter. For more information, seeTransformer Parameter Menu Options.
Transformer Categories
搜索FME知识中心
搜索有关此变压器的样本和信息FME Knowledge Center.