We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This fixes it:
diff --git a/bin/json b/bin/json index 14c51c1..2a37446 100755 --- a/bin/json +++ b/bin/json @@ -268,7 +268,7 @@ function processDatum(datum, args) { var bit = bits[i]; if (bit[0] === '[') { lookup += bit; - } else if (! isJSIdentifier(bits[i])) { + } else if (! isJSIdentifier.exec(bits[i])) { // Allow a non-JS-indentifier token, e.g. `json foo-bar`. lookup += '["' + bits[i].replace('"', '\\"') + '"]'; } else { @@ -330,7 +330,7 @@ function processDatumExperimental(datum, args) { data = newdata; } else if (bit[0] === '[') { lookup += bit; - } else if (! isJSIdentifier(bits[i])) { + } else if (! isJSIdentifier.exec(bits[i])) { // Allow a non-JS-indentifier token, e.g. `json foo-bar`. lookup += '["' + bits[i].replace('"', '\\"') + '"]'; } else {
The text was updated successfully, but these errors were encountered:
Fixed in json 1.3.2 (tagged and npm-published).
commit 5b2fc3b
Sorry, something went wrong.
trentm
No branches or pull requests
This fixes it:
The text was updated successfully, but these errors were encountered: