jsonpath icon indicating copy to clipboard operation
jsonpath copied to clipboard

Avoid panic on filter with $

Open oshadmi opened this issue 3 years ago • 2 comments

Fix #89

oshadmi avatar Feb 15 '22 13:02 oshadmi

@freestrings There is an option to throw an error on compile, but it seems that it is not the responsibility of the initial compilation/parsing. Since the visitor/selector cannot fail gracefully, the suggested fix is to simply return an empty result. WDYT?

oshadmi avatar Feb 15 '22 14:02 oshadmi

@freestrings Hi, can you please review this fix?

oshadmi avatar Feb 22 '22 08:02 oshadmi