com.atlassian.aws.utils
Class JsonUtils

java.lang.Object
  extended by com.atlassian.aws.utils.JsonUtils

public class JsonUtils
extends Object


Field Summary
static com.google.gson.Gson gson
           
 
Constructor Summary
JsonUtils()
           
 
Method Summary
static
<T> T
fromJson(String json, Class<T> classOfT)
           
static String toJson(Object userData)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

gson

public static com.google.gson.Gson gson
Constructor Detail

JsonUtils

public JsonUtils()
Method Detail

fromJson

public static <T> T fromJson(String json,
                             Class<T> classOfT)
                  throws com.google.gson.JsonSyntaxException
Throws:
com.google.gson.JsonSyntaxException

toJson

public static String toJson(Object userData)


Copyright © 2015 Atlassian. All rights reserved.