I am working on feeding in multiple warnings and alerts on the fly from a JSON. I am using JSONPath, ex $.features[0].properties.description, $.features[0].properties.category and so on. The issue is there can be anywhere from zero to several entries per import. Each entry has a unique ID as well.
My question is, how do you loop through each entry, for data as well as not re-import json data if an existing ID is already in the database?
My question is, how do you loop through each entry, for data as well as not re-import json data if an existing ID is already in the database?