Class JsonHelper

java.lang.Object
nz.org.riskscape.engine.JsonHelper

public class JsonHelper extends Object
  • Constructor Details

    • JsonHelper

      public JsonHelper()
  • Method Details

    • deserializeValue

      public <T extends nz.org.riskscape.engine.types.Type> nz.org.riskscape.engine.types.Value deserializeValue(T type, String json) throws org.json.JSONException, nz.org.riskscape.engine.types.CoercionException
      Throws:
      org.json.JSONException
      nz.org.riskscape.engine.types.CoercionException
    • parseJsonString

      protected Object parseJsonString(String json)