public class MoipErrorParser
extends java.lang.Object
| Constructor and Description |
|---|
MoipErrorParser() |
| Modifier and Type | Method and Description |
|---|---|
MoipError |
fromJSON(org.json.JSONObject jsonObject) |
java.util.List<MoipError> |
fromJSONArray(org.json.JSONArray jsonArray) |
java.util.List<MoipError> |
fromString(java.lang.String errors) |
public MoipError fromJSON(org.json.JSONObject jsonObject) throws org.json.JSONException
org.json.JSONExceptionpublic java.util.List<MoipError> fromJSONArray(org.json.JSONArray jsonArray) throws org.json.JSONException
org.json.JSONExceptionpublic java.util.List<MoipError> fromString(java.lang.String errors)