|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.client.communication.JsonEncoder
public class JsonEncoder
Encoder for converting RPC parameters and other values to JSON for transfer between the client and the server. Currently, basic data types as well as Map, String[] and Object[] are supported, where maps and Object[] can contain other supported data types. TODO extensible type support
| Constructor Summary | |
|---|---|
JsonEncoder()
|
|
| Method Summary | |
|---|---|
static JSONValue |
encode(java.lang.Object value,
Type type,
ApplicationConnection connection)
Encode a value to a JSON representation for transport from the client to the server. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JsonEncoder()
| Method Detail |
|---|
public static JSONValue encode(java.lang.Object value,
Type type,
ApplicationConnection connection)
value - value to convertconnection -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||