JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is…