jsonpath icon indicating copy to clipboard operation
jsonpath copied to clipboard

how to deal with fav.movie ?

Open 6high opened this issue 5 years ago • 1 comments

{
  "name": {"first": "Tom", "last": "Anderson"},
  "age":37,
  "children": ["Sara","Alex","Jack"],
  "fav.movie": "Deer Hunter",
  "friends": [
    {"first": "Dale", "last": "Murphy", "age": 44, "nets": ["ig", "fb", "tw"]},
    {"first": "Roger", "last": "Craig", "age": 68, "nets": ["fb", "tw"]},
    {"first": "Jane", "last": "Murphy", "age": 47, "nets": ["ig", "tw"]}
  ]
}

how to get fav.movie value ?

6high avatar Mar 11 '20 07:03 6high

Maybe use the bracket syntax ($["fav.movie"]) instead of dotted syntax ?

yalp avatar Mar 18 '20 15:03 yalp