Dec-09-2021, 01:03 PM
(This post was last modified: Dec-09-2021, 01:03 PM by Gribouillis.)
Kalet Wrote:If for example appears:The result that you want is not clear because when you have
"mode":"Spring",
It should be like that:
"Spring",
"mode": "Spring"
it means that "mode" and "Spring" are a pair (key, value)
in a dictionary. But "Spring" alone is not a pair (key, value). Do you mean that you want to replace the dictionary by some other container having only values and no keys, like a list?Can you write exactly by hand the structure of the expected python object? Forget about json for now, simply write a valid python object that is understood by the interpreter.