summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorAlejandro Sirgo Rica <asirgo@soleta.eu>2024-07-09 11:01:05 +0200
committerAlejandro Sirgo Rica <asirgo@soleta.eu>2024-07-09 16:48:29 +0200
commit740b2eab607d4ca3d19ab4e2418759e43a2898e8 (patch)
treeae11c478dbd4a2277e2c344d6098fb04cde83a7f /README.md
parent6f9da3fdbb2905d79151e2e4b6a00b0d35a64d18 (diff)
utils: place dictionary and list at the end of the json tree
Place dictionaries and lists at the end of the payload to improve readability when it has a lot of nested components. Remove and add again every element of type list or dict within a dict or list in the payload. Python dictionaries preserve insertion order from 3.7 onwardsi so it is safe to reorder them by removing and readding an element.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions