org.cruxframework.crux.core.server.rest.util
Class JsonUtil

java.lang.Object
  extended by org.cruxframework.crux.core.server.rest.util.JsonUtil

public class JsonUtil
extends Object

Author:
Thiago da Rosa de Bustamante

Constructor Summary
JsonUtil()
           
 
Method Summary
static org.codehaus.jackson.map.ObjectReader createReader(Type type)
           
static org.codehaus.jackson.map.ObjectWriter createWriter(Type type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsonUtil

public JsonUtil()
Method Detail

createReader

public static org.codehaus.jackson.map.ObjectReader createReader(Type type)
Parameters:
type - the class type.
Returns:
the Jackson ObjectWriter.

createWriter

public static org.codehaus.jackson.map.ObjectWriter createWriter(Type type)
Parameters:
type - the class type.
Returns:
the Jackson ObjectWriter.


Copyright © 2014. All rights reserved.