com.dropbox.client2.jsonextract
Class JsonMap
java.lang.Object
com.dropbox.client2.jsonextract.JsonMap
- All Implemented Interfaces:
- Iterable<Map.Entry<String,JsonThing>>
public final class JsonMap
- extends Object
- implements Iterable<Map.Entry<String,JsonThing>>
(Internal class for extracting JSON.)
A JSON "object" (a mapping of string keys to arbitrary JSON values).
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
internal
public final T internal
path
public final String path
JsonMap
public JsonMap(Map<String,Object> internal,
String path)
JsonMap
public JsonMap(Map<String,Object> internal)
get
public JsonThing get(String fieldName)
throws JsonExtractionException
- Throws:
JsonExtractionException
getMaybe
public JsonThing getMaybe(String fieldName)
iterator
public Iterator<Map.Entry<String,JsonThing>> iterator()
- Specified by:
iterator in interface Iterable<Map.Entry<String,JsonThing>>
error
public JsonExtractionException error(String message)
Copyright © 2012. All Rights Reserved.