Hi,
I would like to read a json file from an url. Read only the schema and translate the schema to be the main attributes in my workspace. So I'm able to map another dataset onto the main attributes from the read json file.
Example json dataset:
{
"json_featuretype" : "ExampleDataset1",
"Attribute1" : 100,
"Attribute2" : 5,
"Attribute3" : 0.7,
"json_geometry" : {
"type" : "LineString",
"coordinates" : <
y x,y ],
n x,y ]
]
}
},
After reading the schema I would like to see something like this in my attribute manager. I would like to automate this proces and not manually enter the attributes in a attributecreator/attributemanager. Since attributes can be added to the read json file from the url in the future.
I tried reading the json url with the schema reader or the <schema> output port from the FeatureReader but so far I've been unable to translate the attribute{}.name values to be the main attributes.
I'm curious if the FME community has a solution! Thanks!