I have little script on python and I want receive results into JSON file.
I prepared already JSON keys with names of tests.
It looks like this one:
{
"key1" : ""
"key2" : ""
"key3" : ""
}
And now I want to save results (usual str (after if else tests)) as value into specified key.
How can I perform it?
Thank you!
EDIT: not create dictionary, not take FROM JSON. Only write to specified key.
Like (by script, of course):
"Write 'my_str' to My_json[My_key]"