org.wicketstuff.select2.json
Class JsonBuilder

java.lang.Object
  extended by org.apache.wicket.ajax.json.JSONWriter
      extended by org.apache.wicket.ajax.json.JSONStringer
          extended by org.wicketstuff.select2.json.JsonBuilder

Deprecated. Use JSONStringer instead

@Deprecated
public class JsonBuilder
extends org.apache.wicket.ajax.json.JSONStringer

A JSONStringer that writes and allows access to the underlying StringBuilder. One of the advantages of this class is that it can expose Json as a CharSequence instead of a String so no extra memory allocations are necessary for code that can use a CharSequence .

Author:
igor

Field Summary
 
Fields inherited from class org.apache.wicket.ajax.json.JSONStringer
out
 
Fields inherited from class org.apache.wicket.ajax.json.JSONWriter
mode, writer
 
Constructor Summary
JsonBuilder()
          Deprecated.  
 
Method Summary
 CharSequence toJson()
          Deprecated.  
 
Methods inherited from class org.apache.wicket.ajax.json.JSONStringer
array, createKey, endArray, endObject, entry, key, object, toString, value, value, value, value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JsonBuilder

public JsonBuilder()
Deprecated. 
Method Detail

toJson

public CharSequence toJson()
Deprecated. 
Returns:
underlying StringBuilder as a CharSequence.


Copyright © 2018. All rights reserved.