org.sr.common.transformer.json
Class JSONHelper

java.lang.Object
  extended by org.sr.common.transformer.json.JSONHelper

public class JSONHelper
extends java.lang.Object

This class contains helper methods for transformation operations

Author:
Serhat Dirik

Constructor Summary
JSONHelper()
           
 
Method Summary
static java.lang.Class<?> getClassFromHint(java.lang.Object o)
          Gets class hint attribute from JSON objects if there is any
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSONHelper

public JSONHelper()
Method Detail

getClassFromHint

public static java.lang.Class<?> getClassFromHint(java.lang.Object o)
                                           throws TransformationException
Gets class hint attribute from JSON objects if there is any

Parameters:
o - JSON object
Returns:
Throws:
TransformationException