You are here: JSON JSONFlattener

JSONFlattener

Flattens JSON (JavaScript Object Notation) objects, extracting the object keys and values into FME feature attributes.

For example, consider a feature which has an attribute namedjsoncontaining the following text:

{ "paramName":"GeocodeResult", "dataType":"GPFeatureRecordSetLayer", "value": { "geometryType":"esriGeometryPoint", "spatialReference": {"wkid":4326 } } }

After going through the JSONFlattener, the following attributes will have been added to the feature:

Attribute Name Attribute Value
paramName 地球议员
dataType GPFeatureRecordSetLayer
value.geometrytype. Esrigeometrypoint.
value.spatialReference.wkid 4326

Output Ports

Parameters

Input Parameters

Flattening Parameters

Error Handling Parameters

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在适用的参数。更多的备用ion, seeTransformer Parameter Menu Options.

Transformer Categories

JSON

搜索FME知识中心

搜索有关此变压器的样本和信息FME Knowledge Center.