cc.plural.jsonij.marshal
Class JSONDocumentMarshaler

java.lang.Object
  extended by cc.plural.jsonij.marshal.JSONDocumentMarshaler

public class JSONDocumentMarshaler
extends Object

Author:
jmarsden

Nested Class Summary
static class JSONDocumentMarshaler.MarshalerPropertyValue
           
 
Field Summary
static String innerArrayAttribute
           
static String innerObjectAttribute
           
 
Constructor Summary
JSONDocumentMarshaler()
           
 
Method Summary
 Object marshalJSONDocument(JSON json, Class<?> objectClass)
           
 Object marshalJSONDocument(Value value, Class<?> objectClass)
           
 Object marshalJSONDocumentArray(JSON.Array<Value> jsonArray, Class<?> objectClass)
           
 Object marshalJSONDocumentObject(JSON.Object<CharSequence,Value> jsonObject, Class<?> objectClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

innerArrayAttribute

public static String innerArrayAttribute

innerObjectAttribute

public static String innerObjectAttribute
Constructor Detail

JSONDocumentMarshaler

public JSONDocumentMarshaler()
Method Detail

marshalJSONDocument

public Object marshalJSONDocument(JSON json,
                                  Class<?> objectClass)
                           throws JSONMarshalerException
Throws:
JSONMarshalerException

marshalJSONDocument

public Object marshalJSONDocument(Value value,
                                  Class<?> objectClass)
                           throws JSONMarshalerException
Throws:
JSONMarshalerException

marshalJSONDocumentObject

public Object marshalJSONDocumentObject(JSON.Object<CharSequence,Value> jsonObject,
                                        Class<?> objectClass)
                                 throws JSONMarshalerException
Throws:
JSONMarshalerException

marshalJSONDocumentArray

public Object marshalJSONDocumentArray(JSON.Array<Value> jsonArray,
                                       Class<?> objectClass)


Copyright © 2012. All Rights Reserved.