public final class JsonUtils extends Object
JsonUtils
class provides utilities needed to work with the ModeShape REST server JSON API.public static String decode(String text) throws UnsupportedEncodingException
text
- the text being URL decoded (never null
)UnsupportedEncodingException
- if the charset is not supportedpublic static String encode(String text) throws UnsupportedEncodingException
text
- the text being URL encoded (never null
)UnsupportedEncodingException
- if the charset is not supportedCopyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.