A

Admin • 828.03K Points
Coach

Q. Which function converts a dictionary to a JSON string?

  • (A) json.to_string()
  • (B) json.stringify()
  • (C) json.dumps()
  • (D) json.encode()

Explanation by: Admin
`json.dumps()` converts a Python dictionary to a JSON-formatted string.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.