Open najmastar8 opened 4 years ago
Hi @najmastar8, your expression has special characters, so it should be enclosed in quotes. This should work:
jsonpath_expr = parse("$..entries[?@.name =~
/Mani/i]")
Hi @najmastar8, your expression has special characters, so it should be enclosed in quotes. This should work:
jsonpath_expr = parse("$..entries[?@.name =~
/Mani/i]")
Didn't work for the extend module, same error as the the opened ticket
Hi,
I'm unable to pass the regex in the parse as follows jsonpath_expr = parse("$..entries[?@.name =~ /Mani/i]")
getting the following error raise Exception('Parse error at %s:%s near token %s (%s)' % (t.lineno, t.col, t.value, t.type)) Exception: Parse error at 1:22 near token / (SORT_DIRECTION)
my json looks like this