Is it possible to create a GeoEvent definition from a json feed where there are no field headings. For example:
{
"total": 3,
"1": ["asdf", 23, 34, 0],
"2": ["fyih", 23, 34, 0],
"3": ["56j", 23, 34, 0],
The TrackID would be the numbers listed 1,2,3 etc and the attributes of the feature listed.
Solved! Go to Solution.
Hi Chris,
I've used the JSON sample you've provided to test within GeoEvent 10.4. Do you have an accessible source for this JSON feed? With the current JSON formatting, GeoEvent will create a definition with the numbers (1,2,3) as individual fields. This seems more specific to the syntax of the JSON rather than a setting in GeoEvent. Below is the auto-generated definition when I polled the JSON you've provided
Out of curiosity I'll be testing the JSON syntax to see if it's actually possible, but I would say that it's not possible to generate the Definition without using dedicated field names in the JSON.
-Chris
Hi Chris,
I've used the JSON sample you've provided to test within GeoEvent 10.4. Do you have an accessible source for this JSON feed? With the current JSON formatting, GeoEvent will create a definition with the numbers (1,2,3) as individual fields. This seems more specific to the syntax of the JSON rather than a setting in GeoEvent. Below is the auto-generated definition when I polled the JSON you've provided
Out of curiosity I'll be testing the JSON syntax to see if it's actually possible, but I would say that it's not possible to generate the Definition without using dedicated field names in the JSON.
-Chris