You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Stefan Seifert (JIRA)" <ji...@apache.org> on 2015/11/12 18:30:11 UTC
[jira] [Closed] (SLING-5270) comons.json: JSON Validator does not
fail on too many closing brackets
[ https://issues.apache.org/jira/browse/SLING-5270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Seifert closed SLING-5270.
---------------------------------
> 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.16
>
> Attachments: SLING-5270-ValidatorTest.java.patch
>
>
> 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)