SyntaxFix
Write A Post
Hire A Developer
Questions
As of Python 3.5, you can merge two dicts with:
merged = {**dictA, **dictB}
(https://www.python.org/dev/peps/pep-0448/)
So:
jsonMerged = {**json.loads(jsonStringA), **json.loads(jsonStringB)} asString = json.dumps(jsonMerged)
etc.