List of usage examples for org.json Json4Uws getJson
public final static JSONObject getJson(final String key, final String value) throws JSONException
From source file:uws.job.serializer.JSONSerializer.java
@Override public String getAdditionalParameter(final String paramName, final Object paramValue, final boolean root) throws JSONException { return Json4Uws.getJson(paramName, (paramValue == null) ? null : paramValue.toString()).toString(); }