joebeachjoebeach/json-path-finder

Handle non-alphanumeric characters correctly

Closed this issue · 1 comments

For example, in the "sample" there's "Indo-Iranian" which ends up with this output:

x.Indo-European.Indo-Iranian.Iranian[1]

that hyphen will lead to a js syntax error