Errai 3.0.1-SNAPSHOT

org.jboss.errai.ui.shared
Class JSONMap

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by org.jboss.errai.ui.shared.JSONMap

public final class JSONMap
extends com.google.gwt.core.client.JavaScriptObject

A JSON map of key-value data.

Author:
eric.wittmann@redhat.com

Constructor Summary
protected JSONMap()
          Constructor.
 
Method Summary
static JSONMap create(String jsonData)
           
 String get(String key)
          Get a single value from the map.
 Set<String> keys()
           
 
Methods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JSONMap

protected JSONMap()
Constructor.

Method Detail

create

public static JSONMap create(String jsonData)

get

public final String get(String key)
Get a single value from the map.

Parameters:
key -

keys

public final Set<String> keys()
Returns:
all the keys in the map

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.