com.atlassian.confluence.json.json
Class JsonEscapeUtils

java.lang.Object
  extended by com.atlassian.confluence.json.json.JsonEscapeUtils

public class JsonEscapeUtils
extends java.lang.Object

Since:
v5.4

Constructor Summary
JsonEscapeUtils()
           
 
Method Summary
static java.lang.String quote(java.lang.String string)
          Produce a string in double quotes with backslash sequences in all the right places.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsonEscapeUtils

public JsonEscapeUtils()
Method Detail

quote

public static java.lang.String quote(java.lang.String string)
Produce a string in double quotes with backslash sequences in all the right places. A backslash will be inserted within
Parameters:
string - A String
Returns:
A String correctly formatted for insertion in a JSON text.


Copyright © 2003-2014 Atlassian. All Rights Reserved.