public class DIM2JSONConverter extends java.lang.Object
Constructor and Description |
---|
DIM2JSONConverter() |
Modifier and Type | Method and Description |
---|---|
static JSONArray |
convertToJSON(DIMGeneric dim)
Converts a DIMGeneric object to JSON.
|
static JSONObject |
convertToJSON(Patient patient)
Converts a Patient Object to JSON.
|
public DIM2JSONConverter()
public static JSONArray convertToJSON(DIMGeneric dim)
dim
- DIM Objectpublic static JSONObject convertToJSON(Patient patient)
patient
- Patient to be Converted