org.fusesource.restygwt.client
Class AbstractJsonEncoderDecoder<T>
java.lang.Object
org.fusesource.restygwt.client.AbstractJsonEncoderDecoder<T>
- All Implemented Interfaces:
- JsonEncoderDecoder<T>
public abstract class AbstractJsonEncoderDecoder<T>
- extends Object
- implements JsonEncoderDecoder<T>
- Author:
- Hiram Chirino, Dave Finch
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BOOLEAN
public static final AbstractJsonEncoderDecoder<Boolean> BOOLEAN
CHAR
public static final AbstractJsonEncoderDecoder<Character> CHAR
BYTE
public static final AbstractJsonEncoderDecoder<Byte> BYTE
SHORT
public static final AbstractJsonEncoderDecoder<Short> SHORT
INT
public static final AbstractJsonEncoderDecoder<Integer> INT
LONG
public static final AbstractJsonEncoderDecoder<Long> LONG
FLOAT
public static final AbstractJsonEncoderDecoder<Float> FLOAT
DOUBLE
public static final AbstractJsonEncoderDecoder<Double> DOUBLE
STRING
public static final AbstractJsonEncoderDecoder<String> STRING
BIG_DECIMAL
public static final AbstractJsonEncoderDecoder<BigDecimal> BIG_DECIMAL
BIG_INTEGER
public static final AbstractJsonEncoderDecoder<BigInteger> BIG_INTEGER
DOCUMENT
public static final AbstractJsonEncoderDecoder<Document> DOCUMENT
JSON_VALUE
public static final AbstractJsonEncoderDecoder<JSONValue> JSON_VALUE
DATE
public static final AbstractJsonEncoderDecoder<Date> DATE
AbstractJsonEncoderDecoder
public AbstractJsonEncoderDecoder()
toBigDecimal
public static BigDecimal toBigDecimal(JSONValue value)
toDouble
public static double toDouble(JSONValue value)
toObject
public static JSONObject toObject(JSONValue value)
toObjectFromWrapper
public static JSONObject toObjectFromWrapper(JSONValue value,
String name)
toList
public static <Type> List<Type> toList(JSONValue value,
AbstractJsonEncoderDecoder<Type> encoder)
toSet
public static <Type> Set<Type> toSet(JSONValue value,
AbstractJsonEncoderDecoder<Type> encoder)
toMap
public static <Type> Map<String,Type> toMap(JSONValue value,
AbstractJsonEncoderDecoder<Type> encoder,
Json.Style style)
toJSON
public static <Type> JSONValue toJSON(Map<String,Type> value,
AbstractJsonEncoderDecoder<Type> encoder,
Json.Style style)
toJSON
public static <Type> JSONValue toJSON(Collection<Type> value,
AbstractJsonEncoderDecoder<Type> encoder)
Copyright © 2010-2011 FuseSource, Corp.. All Rights Reserved.