Lukasz Lenart created WW-5619:
---------------------------------

             Summary: Remove deprecated static JSONUtil.deserialize() methods
                 Key: WW-5619
                 URL: https://issues.apache.org/jira/browse/WW-5619
             Project: Struts 2
          Issue Type: Improvement
          Components: Plugin - JSON
            Reporter: Lukasz Lenart
             Fix For: 8.0.0


The static {{deserialize(String)}} and {{deserialize(Reader)}} methods in 
{{JSONUtil}} were deprecated in WW-5618 in favor of the instance method 
{{deserializeInput(Reader, int)}} which enforces configurable limits 
(maxLength, maxElements, maxDepth, etc.).

All callers have been migrated. These two methods should be removed in a future 
release:

- {{JSONUtil.deserialize(String json)}}
- {{JSONUtil.deserialize(Reader reader)}}





--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to