-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
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
Special characters in field names #4
Comments
I'd add for not only filed names, but also type names input was: {
"stores": [ "xxxx"
],
"products": {
"892303": [
{
"sku": "892304",
"upc": []
},
{
"sku": "10137374",
"upc": []
}
],
"PRD4UH16V3K5TO7": [
{
"sku": "4UH16V3K5TO7",
"upc": []
}
]
},
"origin": "browse"
} Output:
I'd suggest escapting interface name, say |
Good call. I may revisit this issue in a couple of months, once I finish defending my PhD + moving. |
I got blocked by this issue recently, I have a potential fix in #18 |
Just had the same issue |
Proposed fix: #26 |
Actually, those are 2 characters I did not have in the list yet added them. |
Support field names that are not proper JavaScript identifiers.
e.g.:
")hello"
In the non-identifier case, switch to using index
[""]
notation for accessing properties on JS objects.The text was updated successfully, but these errors were encountered: