Package com.powsybl.sensitivity.json
Class JsonSensitivityAnalysisParameters
java.lang.Object
com.powsybl.sensitivity.json.JsonSensitivityAnalysisParameters
- Author:
- Sebastien Murgey <sebastien.murgey at rte-france.com>
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.fasterxml.jackson.databind.ObjectMapper
static Map<String,
ExtensionJsonSerializer> read
(InputStream jsonStream) Reads parameters from a JSON file (will NOT rely on platform config).update
(SensitivityAnalysisParameters parameters, InputStream jsonStream) Updates parameters by reading the content of a JSON stream.update
(SensitivityAnalysisParameters parameters, Path jsonFile) Updates parameters by reading the content of a JSON file.
-
Method Details
-
getExtensionSerializers
-
read
-
read
Reads parameters from a JSON file (will NOT rely on platform config). -
update
public static SensitivityAnalysisParameters update(SensitivityAnalysisParameters parameters, Path jsonFile) Updates parameters by reading the content of a JSON file. -
update
public static SensitivityAnalysisParameters update(SensitivityAnalysisParameters parameters, InputStream jsonStream) Updates parameters by reading the content of a JSON stream. -
createObjectMapper
public static com.fasterxml.jackson.databind.ObjectMapper createObjectMapper()
-