org.apache.wicket.ajax.json
Class JSONWriter

java.lang.Object
  extended by org.apache.wicket.ajax.json.JSONWriter
Direct Known Subclasses:
JsonSequenceStringer, JSONStringer

Deprecated. since 6.27.0/7.7.0 for legal reasons. Use JSONStringer instead.

@Deprecated
public class JSONWriter
extends Object


Field Summary
protected  char mode
          Deprecated.  
protected  Writer writer
          Deprecated.  
 
Constructor Summary
JSONWriter()
          Deprecated.  
JSONWriter(Writer w)
          Deprecated.  
 
Method Summary
 JSONWriter array()
          Deprecated.  
 JSONWriter endArray()
          Deprecated.  
 JSONWriter endObject()
          Deprecated.  
 JSONWriter key(String string)
          Deprecated.  
 JSONWriter object()
          Deprecated.  
 JSONWriter value(boolean b)
          Deprecated.  
 JSONWriter value(double d)
          Deprecated.  
 JSONWriter value(long l)
          Deprecated.  
 JSONWriter value(Object object)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mode

protected char mode
Deprecated. 

writer

protected Writer writer
Deprecated. 
Constructor Detail

JSONWriter

public JSONWriter()
Deprecated. 

JSONWriter

public JSONWriter(Writer w)
Deprecated. 
Method Detail

array

public JSONWriter array()
                 throws JSONException
Deprecated. 
Throws:
JSONException

endArray

public JSONWriter endArray()
                    throws JSONException
Deprecated. 
Throws:
JSONException

endObject

public JSONWriter endObject()
                     throws JSONException
Deprecated. 
Throws:
JSONException

key

public JSONWriter key(String string)
               throws JSONException
Deprecated. 
Throws:
JSONException

object

public JSONWriter object()
                  throws JSONException
Deprecated. 
Throws:
JSONException

value

public JSONWriter value(boolean b)
                 throws JSONException
Deprecated. 
Throws:
JSONException

value

public JSONWriter value(double d)
                 throws JSONException
Deprecated. 
Throws:
JSONException

value

public JSONWriter value(long l)
                 throws JSONException
Deprecated. 
Throws:
JSONException

value

public JSONWriter value(Object object)
                 throws JSONException
Deprecated. 
Throws:
JSONException


Copyright © 2006–2020 Apache Software Foundation. All rights reserved.