4 Replies Latest reply on Feb 12, 2019 3:14 PM by Devin

    select json object at root for tagname?


      I have a suspicion that this is a very simple question. This is essentially the other side of the coin to this post. I need to select the root json objects as my tag names:

      I am assuming I need to use the FOREACH function to loop through each one as each has values and timestamps under them in arrays, but I am a little confused on what to use for the selector parameter to identify the object in the JsonGetItem and JsonGetValue functions. What am I missing?

      FOREACH (JsonGetItem(__MESSAGE,"")) DO

      TagName = JsonGetValue(__ITEM,"")