public class JsonEncoder extends Object
| Constructor and Description |
|---|
JsonEncoder() |
| Modifier and Type | Method and Description |
|---|---|
static JsonValue |
encode(Object value,
Type type,
ApplicationConnection connection)
Encode a value to a JSON representation for transport from the client to
the server.
|
public static JsonValue encode(Object value, Type type, ApplicationConnection connection)
value - value to convertconnection - Copyright © 2018 Vaadin Ltd. All rights reserved.