Bug 709403 - Part 0: Add getString to ExtendedJSONObject. r=nalexander

This commit is contained in:
Richard Newman
2012-03-02 17:36:16 -08:00
parent fdb11e3280
commit c7acc08cb0

View File

@@ -127,6 +127,9 @@ public class ExtendedJSONObject {
public Long getLong(String key) {
return (Long) this.get(key);
}
public String getString(String key) {
return (String) this.get(key);
}
/**
* Return a server timestamp value as milliseconds since epoch.