ObjectModelParser does not parse JSON correctly


Article Number000090398
EnvironmentProduct: OpenEdge
Version: 11.6, 11.7
OS: Al supported platforms
Question/Problem Description
According the Parse( ) method documentation a JsonParserError is raised if the JSON syntax is incorrect.

This doesn't always happen, however.
E.g, the following JSON string is only partially correct, however, no error is returned:

'~{"invoice": "12345", "customer": "Jane Doe"}, "amount due": 555.55}'.

Same happens with the following Json strings:

- Check on even number of opening and closing curly braces:
'~{"invoice": "12345", "customer": "Jane Doe"}, "amount due": 555.55'. 

- Check if last character is a right curly brace: 
'~{"invoice": "12345", "customer": "Jane Doe"}, "amount due": 555.55~{}'. 

Steps to Reproduce
Clarifying Information
Error Message
Defect/Enhancement NumberDefect OCTA-6658
The exact cause is unknown at this time.
None at this time.
Last Modified Date7/16/2018 12:11 PM

Did this article resolve your question/issue?


Your feedback is appreciated.

Please tell us how we can make this article more useful. Please provide us a way to contact you, should we need clarification on the feedback provided or if you need further assistance.

Characters Remaining: 1025