[python] What is the difference between json.dumps and json.load?

What is the difference between json.dumps and json.load?

From my understanding, one loads JSON into a dictionary and another loads into objects.

This question is related to python json

The answer is


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