-
Notifications
You must be signed in to change notification settings - Fork 136
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
Support object literals #39
Comments
Probably because JSEP parses a subset of JS (remember it stands for JavaScript Expression Parser). Now, what constitutes expressions is debatable. I think we can all agree that I, for one, do see value in supporting them. They would be pretty useful as operands in expressions. It's also the only part of JSON That jsep cannot parse, fwiw. I’m not sure what @EricSmekens thinks though. |
Any news on this since 2017? Would pull requests for this be welcome? If the maintainers are good with it, I'd love to take a crack at it since this would be so useful. |
Would be definitely welcome! |
An expression with object-literal is not supported. E.g.
{ object: 'Literal' }
How come?
The text was updated successfully, but these errors were encountered: