cc.plural.jsonij
Class JSONMarshaler
java.lang.Object
cc.plural.jsonij.JSONMarshaler
public class JSONMarshaler
- extends Object
- Author:
- openecho
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
javaMarshaler
protected static final JavaMarshaler javaMarshaler
jsonMarshaler
protected static final JSONDocumentMarshaler jsonMarshaler
JSONMarshaler
public JSONMarshaler()
marshalObject
public static JSON marshalObject(Object o)
marshalObject
public static JSON marshalObject(boolean[] a)
marshalObject
public static JSON marshalObject(Boolean[] a)
marshalObject
public static JSON marshalObject(int[] a)
marshalObject
public static JSON marshalObject(Integer[] a)
marshalObject
public static JSON marshalObject(char[] a)
marshalObject
public static JSON marshalObject(Character[] a)
marshalObject
public static JSON marshalObject(double[] a)
marshalObject
public static JSON marshalObject(Double[] a)
marshalObject
public static JSON marshalObject(float[] a)
marshalObject
public static JSON marshalObject(Float[] a)
marshalObject
public static JSON marshalObject(short[] a)
marshalObject
public static JSON marshalObject(Short[] a)
marshalObject
public static JSON marshalObject(long[] a)
marshalObject
public static JSON marshalObject(Long[] a)
marshalObject
public static JSON marshalObject(String[] a)
marshalObject
public static JSON marshalObject(Object[] a)
marshalJSON
public static Object marshalJSON(String json,
Class<?> c)
throws JSONMarshalerException,
IOException,
ParserException
- Throws:
JSONMarshalerException
IOException
ParserException
marshalJSON
public static Object marshalJSON(JSON json,
Class<?> c)
throws JSONMarshalerException
- Throws:
JSONMarshalerException
marshalJSON
public static Object marshalJSON(Value value,
Class<?> c)
throws JSONMarshalerException
- Throws:
JSONMarshalerException
Copyright © 2012. All Rights Reserved.