net.sf.csv4j
Class JSonUtil

java.lang.Object
  extended by net.sf.csv4j.JSonUtil

public class JSonUtil
extends java.lang.Object

Author:
Federico De Faveri defaveri@isti.cnr.it

Constructor Summary
JSonUtil()
           
 
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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSonUtil

public JSonUtil()
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.