Jochen Kemnade created TAP5-2443:
------------------------------------

             Summary: JSON parser cannot handle RegExp values
                 Key: TAP5-2443
                 URL: https://issues.apache.org/jira/browse/TAP5-2443
             Project: Tapestry 5
          Issue Type: Bug
          Components: tapestry-json
    Affects Versions: 5.4
            Reporter: Jochen Kemnade
            Priority: Minor


If a JSON string contains a RegExp value, the parser fails and reports that the 
value is missing.
{code}
java.lang.RuntimeException: Missing value at character 8 of {regex: /foo/}
        at 
org.apache.tapestry5.json.JSONTokener.syntaxError(JSONTokener.java:384)
        at org.apache.tapestry5.json.JSONTokener.nextValue(JSONTokener.java:301)
        at org.apache.tapestry5.json.JSONObject.<init>(JSONObject.java:260)
        at org.apache.tapestry5.json.JSONObject.<init>(JSONObject.java:295)
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to