Json.dump() syntax in Python

Both json.dump and json.dumps always serializes Objects as a String.

Language: