Package org.dashbuilder.dataset.json
Class DataSetJSONMarshaller
- java.lang.Object
-
- org.dashbuilder.dataset.json.DataSetJSONMarshaller
-
public class DataSetJSONMarshaller extends Object
-
-
Constructor Summary
Constructors Constructor Description DataSetJSONMarshaller()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DataSetfromJson(String jsonString)DataSetfromJson(org.dashbuilder.json.JsonObject dataSetJson)static DataSetJSONMarshallerget()org.dashbuilder.json.JsonObjecttoJson(DataSet dataSet)
-
-
-
Method Detail
-
get
public static DataSetJSONMarshaller get()
-
toJson
public org.dashbuilder.json.JsonObject toJson(DataSet dataSet) throws org.dashbuilder.json.JsonException
- Throws:
org.dashbuilder.json.JsonException
-
fromJson
public DataSet fromJson(String jsonString) throws org.dashbuilder.json.JsonException
- Throws:
org.dashbuilder.json.JsonException
-
fromJson
public DataSet fromJson(org.dashbuilder.json.JsonObject dataSetJson) throws org.dashbuilder.json.JsonException
- Throws:
org.dashbuilder.json.JsonException
-
-