Jochen Kemnade created TAP5-2578: ------------------------------------ Summary: Changed constructor signature JSONObject(JSONObject, String...) Key: TAP5-2578 URL: https://issues.apache.org/jira/browse/TAP5-2578 Project: Tapestry 5 Issue Type: Bug Components: tapestry-json Affects Versions: 5.4.2 Reporter: Jochen Kemnade
In Tapestry 5.4.2, the constructor {{public JSONObject(JSONObject source, String... propertyNames)}} changed to {{public JSONObject(JSONObject copyFrom, String[] names)}}. That means that you can no longer use {{new JSONObject(source, "key1")}}. You can use {{JSONObject(source, new String[]{"key1"})}} as a workaround. -- This message was sent by Atlassian JIRA (v6.3.15#6346)