Ad Widget

Collapse

Multiple item JSON

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mattisam
    Junior Member
    • Oct 2021
    • 1

    #1

    Multiple item JSON

    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?
Working...