1. Home
  2. Data Science
  3. Python
  4. Which module is used to work with JSON in Python?

Added 25 Nov 2026

Which module is used to work with JSON in Python?

  1. json Correct answer
  2. jsonlib
  3. simplejson only
  4. pyjson

Correct answer

A. json

MCQSEXAM

Explanation

The built-in json module encodes and decodes JSON.

Reference

Asked in: Python Interview File Handling

https://docs.python.org/3/tutorial/inputoutput.html

Preparing for an exam?

Doubts & discussion

Not sure why the answer is A? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Python MCQs

Practise all Python MCQs

Similar MCQs