org.apache.shindig.common
Class JsonUtil

java.lang.Object
  extended by org.apache.shindig.common.JsonUtil

public final class JsonUtil
extends Object

JSON utilities that are not specific to either serialization or conversion.


Method Summary
static Object getProperty(Object value, String propertyName)
          Gets a property of an Object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getProperty

public static Object getProperty(Object value,
                                 String propertyName)
Gets a property of an Object. Will return a property value if serializing the value would produce a JSON object containing that property, otherwise returns null.



Copyright © 2007-2012. All Rights Reserved.