Select to view content in your preferred language

Nested JSON

902
0
01-15-2018 11:45 PM
LeeKum_Cheong
Emerging Contributor

Hi,

When polling an external website for JSON with no JSON object name, the following geoevent definition gets created.

The geometry is a constructed field from the input data. I was trying to use metadata.stations.location.latitude for the Y and metadata.stations.location.longitude for X. The JSON parser could not locate the field in the incoming data.

On the other hand, when I use stations as a JSON object at my input connector, I can access the coordinates via location.latitude, location.longitude and construct geometry from there on.

Is there a limit to the level of nested JSON or are there any configurations which I might have missed?

Any help is greatly appreciated. Thanks.

I am on ArcGIS Enterprise 10.5.1, federated and hosted.

Tags (1)
0 Kudos
0 Replies