Open devAarno opened 2 years ago
Hello, everyone!
I need some explanations about how the recursion (deep scan, ..) rule works as an end rule.
..
Let's have JSON
{"a":{"a":123}}
The JSONPath $..a.. returns
$..a..
[ { "a": 123 }, 123 ]
{"a":{"a":null}}
The same JSONPath returns
[ { "a": null }, null, null ]
As you can see, there is an extra null here.
null
Are examples demonstrate correct behavior? If yes, how should I interpret the difference between examples?
Thank you!
There seems to be a bug around null values. I have noticed similar behavior.
Hello, everyone!
I need some explanations about how the recursion (deep scan,
..
) rule works as an end rule.Example 1:
Let's have JSON
The JSONPath
$..a..
returnsExample 2:
Let's have JSON
The same JSONPath returns
As you can see, there is an extra
null
here.Are examples demonstrate correct behavior? If yes, how should I interpret the difference between examples?
Thank you!