We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a7ce50 commit fe45329Copy full SHA for fe45329
1 file changed
src/js/jsonpath.js
@@ -376,8 +376,8 @@ export class JSONPath {
376
i += 1;
377
continue;
378
}
379
- if ( c0 === 0x27 /* ' */ ) {
380
- const r = this.#untilChar(query, 0x27 /* ' */, i+1)
+ if ( c0 === 0x22 /* " */ || c0 === 0x27 /* ' */ ) {
+ const r = this.#untilChar(query, c0, i+1);
381
if ( r === undefined ) { return; }
382
keys.push(r.s);
383
i = r.i;
0 commit comments