com.twitter.processing

object Status

[source: com/twitter/processing/Status.scala]

object Status
extends JsonSugar
Provides methods for unmarshalling a status from Json
Value Summary
val parser : com.google.gson.JsonParser
One Json parser to use. Note: this makes it not thread safe.
Method Summary
def fromJson (json : java.lang.String) : scala.Option[Status]
Get Some(Status) from a Json String, or None if we can't unmarshal from the given String
def fromJson (rootElem : com.google.gson.JsonObject) : scala.Option[Status]
Get Some(Status) from a Json String, or None if the given json object isn't a status
Methods inherited from JsonSugar
ss, sb, sl, si
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Value Details
val parser : com.google.gson.JsonParser
One Json parser to use. Note: this makes it not thread safe.

Method Details
def fromJson(json : java.lang.String) : scala.Option[Status]
Get Some(Status) from a Json String, or None if we can't unmarshal from the given String

def fromJson(rootElem : com.google.gson.JsonObject) : scala.Option[Status]
Get Some(Status) from a Json String, or None if the given json object isn't a status


processing library Tweet Stream by Mark McBride. (c) 2009