pandapower icon indicating copy to clipboard operation
pandapower copied to clipboard

consistency with json functions

Open ascheidl opened this issue 6 years ago • 2 comments

to serialize a grid to a json string the function to_json is used, however to deserialize the function from_json_string is used ... we should either introduce to_json_string or remove from_json_string and include this functionality in from_json

ascheidl avatar Mar 28 '20 06:03 ascheidl

Additionaly if this is not changed, atleast the function from_json_string should be documented. The docs have no mention of this function.

KS-HTK avatar Oct 04 '24 07:10 KS-HTK

this is available afaik since, sometimes the "data" is not coming from a file. And the from_json function reads a file to a string and calls from_json_string to convert it. But totally we should at least provide some docstring for this function.

vogt31337 avatar Apr 03 '25 14:04 vogt31337