Describe the current behavior
When storing and loading powsybl loadflow parameters, the from_json crashes if the order of keys in the json has been altered. See:
from pypowsybl.loadflow import Parameters
params = Parameters()
params_json = params.to_json()
ordered_json = json.dumps(json.loads(params_json), sort_keys=True)
# Passes:
Parameters.from_json(params_json)
# Crashes:
Parameters.from_json(ordered_json)
Describe the expected behavior
from_json should be insensitive to the order of keys in the json file.
Describe the steps
No response
Environment
Relevant Log Output
No response
Extra Information
No response
Describe the current behavior
When storing and loading powsybl loadflow parameters, the from_json crashes if the order of keys in the json has been altered. See:
Describe the expected behavior
from_json should be insensitive to the order of keys in the json file.
Describe the steps
No response
Environment
Relevant Log Output
No response
Extra Information
No response