List of usage examples for org.json Json4Uws getJson
public final static JSONObject getJson(final ErrorSummary error) throws JSONException
From source file:uws.job.serializer.JSONSerializer.java
@Override public String getUWS(final UWS uws, final JobOwner user) throws JSONException { return Json4Uws.getJson(uws).toString(); }
From source file:uws.job.serializer.JSONSerializer.java
@Override public String getErrorSummary(final ErrorSummary error, final boolean root) throws JSONException { return Json4Uws.getJson(error).toString(); }