com.twilio.sdk.parser
Class JsonResponseParser

java.lang.Object
  extended by com.twilio.sdk.parser.JsonResponseParser
All Implemented Interfaces:
ResponseParser

public class JsonResponseParser
extends Object
implements ResponseParser

The Class JsonResponseParser.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.twilio.sdk.parser.ResponseParser
ResponseParser.PagingProperty
 
Constructor Summary
JsonResponseParser()
           
 
Method Summary
 String getPagingPropertyKey(ResponseParser.PagingProperty prop)
          Gets the paging property key.
 Map<String,Object> parse(TwilioRestResponse response)
          Parses the.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsonResponseParser

public JsonResponseParser()
Method Detail

parse

public Map<String,Object> parse(TwilioRestResponse response)
Description copied from interface: ResponseParser
Parses the.

Specified by:
parse in interface ResponseParser
Parameters:
response - the response
Returns:
the map

getPagingPropertyKey

public String getPagingPropertyKey(ResponseParser.PagingProperty prop)
Description copied from interface: ResponseParser
Gets the paging property key.

Specified by:
getPagingPropertyKey in interface ResponseParser
Parameters:
prop - the prop
Returns:
the paging property key


Copyright © 2011 Twilio, Inc. All Rights Reserved.