Parses a JSON string and converts it into a JSON object. If not a valid JSON string, returns "#NUM!".
JSON.PARSE(text)
text is required, and is the JSON string.
Example:
If text contains {"name: "John Doe", "age": 30, "city": "New York"}:
JSON.PARSE("{""name"": ""John Doe"", ""age"": 30, ""city"": ""New York""}")
returns {"name":"John Doe","age":30,"city":"New York"}
text:
Result:
Imagine a large, bustling library that needs to manage its vast collection of books. The library uses a sophisticated system to store information about each book, and this information needs to be shared with different departments.
Instead of a traditional spreadsheet, the library's system stores the book data in a special format called JSON (JavaScript Object Notation), which looks like this:
[
{
"title": "The Chronicles of Eldoria",
"author": "Arin Thorne",
"genre": "Fantasy",
"publication_year": 1852,
"is_available": true
},
{
"title": "Quantum Echoes",
"author": "Dr. Lena Sharma",
"genre": "Science Fiction",
"publication_year": 2134,
"is_available": false
},
{
"title": "Whispers of the Sunken City",
"author": "Kaelen Voss",
"genre": "Adventure",
"publication_year": 1998,
"is_available": true
}
]
This is a single block of text, which is great for sending data over a network, but not very useful for a librarian who needs to look at the information in a clear, organized way.
This is where the JSON.PARSE function comes in. A special program in the library's system receives this text and uses the JSON.PARSE function to interpret it. The function breaks down the text and turns it into a structured format that the program can understand and display in a table.
Here's how the library staff would see the information after the JSON.PARSE function has done its job:
Title | Author | Genre | Publication Year | Is Available? | ||
|---|---|---|---|---|---|---|
A | B | C | D | E | ||
1 | The Chronicles of Eldoria | Arin Thorne | Fantasy | 1852 | Yes | |
2 | Quantum Echoes | Dr. Lena Sharma | Science Fiction | 2134 | No | |
3 | Whispers of the Sunken City | Kaelen Voss | Adventure | 1998 | Yes |
In this example, the JSON.PARSE function acts as a translator, converting a raw text string into a structured, usable format (the table) that allows the library staff to easily read, sort, and manage their book collection.
Result for JSON.PARSE:
PRODUCT & FEATURES
RESOURCES
Terms | Privacy | Spam Policy
© 2026 Zapof