public class Json extends Object
Modifier and Type | Method and Description |
---|---|
static void |
writeFunction(org.apache.wicket.ajax.json.JSONWriter writer,
String key,
String value)
Writes a key/value pair into the
writer where value represents a javascript
function and should be written out unencoded if the value is not null |
static void |
writeObject(org.apache.wicket.ajax.json.JSONWriter writer,
String key,
Object value)
Writes a key/value pair into the
writer if the value is not null |
public static void writeObject(org.apache.wicket.ajax.json.JSONWriter writer, String key, Object value) throws org.apache.wicket.ajax.json.JSONException
writer
if the value is not null
writer
- json writerkey
- keyvalue
- valueorg.apache.wicket.ajax.json.JSONException
public static void writeFunction(org.apache.wicket.ajax.json.JSONWriter writer, String key, String value) throws org.apache.wicket.ajax.json.JSONException
writer
where value
represents a javascript
function and should be written out unencoded if the value is not null
writer
- json writerkey
- keyvalue
- valueorg.apache.wicket.ajax.json.JSONException
Copyright © 2015. All rights reserved.