public class JSONUtils extends Object
Constructor and Description |
---|
JSONUtils() |
Modifier and Type | Method and Description |
---|---|
static List<String> |
JSONSpeciesIds(String toParse) |
static Map<String,org.gcube.application.aquamaps.aquamapsservice.stubs.datamodel.enhanced.Perturbation> |
JSONtoPert(String JSONString) |
static List<org.gcube.application.aquamaps.aquamapsservice.stubs.datamodel.enhanced.Species> |
JSONToSpecies(String toParse) |
static Map<org.gcube.application.aquamaps.aquamapsservice.stubs.fw.fields.EnvelopeFields,org.gcube.application.aquamaps.aquamapsservice.stubs.fw.model.Field> |
JSONtoWeights(String JSONString) |
static String |
pertMapToJSON(Map<SpeciesFields,Float> perturbations) |
static String |
weitghtsToJSON(Map<String,Boolean> weights) |
public static List<org.gcube.application.aquamaps.aquamapsservice.stubs.datamodel.enhanced.Species> JSONToSpecies(String toParse) throws org.json.JSONException
org.json.JSONException
public static List<String> JSONSpeciesIds(String toParse) throws Exception
Exception
public static String pertMapToJSON(Map<SpeciesFields,Float> perturbations) throws org.json.JSONException
org.json.JSONException
public static Map<String,org.gcube.application.aquamaps.aquamapsservice.stubs.datamodel.enhanced.Perturbation> JSONtoPert(String JSONString) throws Exception
Exception
public static String weitghtsToJSON(Map<String,Boolean> weights) throws org.json.JSONException
org.json.JSONException
Copyright © 2018. All Rights Reserved.