public class ExceptionJsonSerializer extends Object implements JsonSerializer<Throwable,org.json.JSONObject>
| Constructor and Description |
|---|
ExceptionJsonSerializer() |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
deserialize(org.json.JSONObject errorJSON) |
org.json.JSONObject |
serialize(Throwable object) |
public Throwable deserialize(org.json.JSONObject errorJSON)
deserialize in interface JsonSerializer<Throwable,org.json.JSONObject>public org.json.JSONObject serialize(Throwable object)
serialize in interface JsonSerializer<Throwable,org.json.JSONObject>Copyright © 2005–2018 Alfresco Software. All rights reserved.