org.utgenome.gwt.utgb.client.util
Class JSONUtil

java.lang.Object
  extended by org.utgenome.gwt.utgb.client.util.JSONUtil

public class JSONUtil
extends Object


Method Summary
static ArrayList<String> parseJSONArray(String jsonArray)
           
static
<T> String
toJSONArray(List<T> iterable)
          Create a JSONArray string from the given iterable list
static String toStringValue(com.google.gwt.json.client.JSONValue value)
          Get a string value (without double quotation) of JSONString, or other JSON types.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

toJSONArray

public static <T> String toJSONArray(List<T> iterable)
Create a JSONArray string from the given iterable list

Parameters:
iterable -
Returns:

parseJSONArray

public static ArrayList<String> parseJSONArray(String jsonArray)

toStringValue

public static String toStringValue(com.google.gwt.json.client.JSONValue value)
Get a string value (without double quotation) of JSONString, or other JSON types.

Parameters:
value -
Returns:


Copyright © 2007-2012 utgenome.org. All Rights Reserved.