Example usage for org.json Json4Uws getJobParamsJson

List of usage examples for org.json Json4Uws getJobParamsJson

Introduction

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

Prototype

public final static JSONObject getJobParamsJson(final UWSJob job) throws JSONException 

Source Link

Document

Gets the JSON representation of the parameters of the given job.

Usage

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

@Override
public String getAdditionalParameters(final UWSJob job, final boolean root) throws JSONException {
    return Json4Uws.getJobParamsJson(job).toString();
}