Ad Widget

Collapse

Help with JSONpath lld macro

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • LenR
    Senior Member
    • Sep 2009
    • 1005

    #1

    Help with JSONpath lld macro

    I have JSON formatted like this:
    {"things":{
    {"thing1": {"data":{..}},
    {"thing2": {"data":{..}}
    {"thing3": {"data":{..}},
    }

    It is valid JSON formatting, typos in this example are mine. I'm stumbling around from an example, but the "name" of the items like "thing1" not having a {"name": "thing1": {...}} format doesn't match my other examples. Will LLD work with a list like this?

    In preprocessing, I have $.things.[*], in the LLD macro for {#THINGS} I have $.first(). Eventually, I need to filter by data.reads not 0 too.

    Of course none of it is working :-)

    Thanks
Working...