You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I’m a bit surprised that the Python generator doesn’t import json (which is a part of stdlib), and generate JSON payloads as regular dictionaries, instead of hard to read (and edit) already encoded strings.
Describe the solution you'd like
Just import json on top, and then you can do something like:
Is your feature request related to a problem? Please describe.
I’m a bit surprised that the Python generator doesn’t
import json
(which is a part of stdlib), and generate JSON payloads as regular dictionaries, instead of hard to read (and edit) already encoded strings.Describe the solution you'd like
Just
import json
on top, and then you can do something like:resulting in:
Now,
better_dict_payload
is much-much more readable, and easy to edit.Additional context
n/a
The text was updated successfully, but these errors were encountered: