Replies: 1 comment
-
Hi @LNow I can't immediately think of such a change, basically the repetition of the key/value pairs is terminated due to the lack of comma You may be able to customize the error message text if you can recognize the scenario given Adding logic to identify the situation inside the grammar and throw a user defined syntax error
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When we use following code as input in json grammar example then error message we get says:
Expecting --> '}' <-- but found --> '"lastName"' <--
What changes needs to be applied to grammar to get
Expecting --> ',' <-- but found --> '"lastName"' <--
orExpecting --> ',' <-- or --> '}' <-- but found --> '"lastName"' <--
instead?Beta Was this translation helpful? Give feedback.
All reactions