Stefan Seifert created SLING-5270: ------------------------------------- Summary: comons.json: JSON Validator does not fail on too many closing brackets Key: SLING-5270 URL: https://issues.apache.org/jira/browse/SLING-5270 Project: Sling Issue Type: Bug Components: Commons Affects Versions: Commons JSON 2.0.12 Reporter: Stefan Seifert Assignee: Stefan Seifert Priority: Minor Fix For: Commons JSON 2.0.14
the JSON validator (which is also used by the maven-sling-plugin) does not fail when the JSON contains too many closing brackets, esp.: * too many "}" at the end of file * too many "]" at the end of file * too many "}" within the file attached is a patch file with unit tests, three of them do not fail although the json is invalid. -- This message was sent by Atlassian JIRA (v6.3.4#6332)