Example usage for org.json Json4Uws getJobResultJson

List of usage examples for org.json Json4Uws getJobResultJson

Introduction

In this page you can find the example usage for org.json Json4Uws getJobResultJson.

Prototype

public final static JSONObject getJobResultJson(final Result r) throws JSONException 

Source Link

Document

Gets the JSON representation of the the given result.

Usage

From source file:uws.job.serializer.JSONSerializer.java

@Override
public String getResult(final Result result, final boolean root) throws JSONException {
    return Json4Uws.getJobResultJson(result).toString();
}