SyntaxFix
Write A Post
Hire A Developer
Questions
Tags
What is the difference between json.dumps and json.load?
json.dumps
json.load
From my understanding, one loads JSON into a dictionary and another loads into objects.
This question is related to python json
python
json
json loads -> returns an object from a string representing a json object.
json dumps -> returns a string representing a json object from an object.
load and dump -> read/write from/to file instead of string
Source: Stackoverflow.com