For example I have this feed: https://511on.ca/api/v2/get/roadconditions?format=jsona
In a normal script I would use the polyline library to decode it. e.g.
array = arcpy.Array()
for coords in polyline.decode(EncodedPolyline):
array.add(arcpy.Point(coords[1], coords[0]))
cur.insertRow([LocationDescription,arcpy.Polyline(array)])
Is something similar possible in GeoEvent?