AnsweredAssumed Answered

Nested JSON

Question asked by kcleeesrisingapore-com-sg-esridist Employee on Jan 15, 2018

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.

Outcomes