[ 
https://issues.apache.org/jira/browse/OAK-2389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14273684#comment-14273684
 ] 

Julian Reschke commented on OAK-2389:
-------------------------------------

escape() wasn't used anywhere other than test case.

encode() does seem to be JSOP-specific and probably just needs fixed 
documentation.

> issues with JsopBuilder.encode and .escape
> ------------------------------------------
>
>                 Key: OAK-2389
>                 URL: https://issues.apache.org/jira/browse/OAK-2389
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>            Reporter: Julian Reschke
>
> 1) escape() escapes many characters that do not need to be escaped (>127)
> 2) encode() does not encode many control characters that would need to be 
> escaped when read through a JSON parser.



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

Reply via email to