| safe_parse_json | R Documentation |
Parses a JSON string, attempting to repair it using fix_json if
the initial parse fails.
safe_parse_json(text)
text |
A JSON string. |
A parsed R object (list, vector, etc.) or NULL if parsing fails even after repair.
safe_parse_json('{"a": 1}')
safe_parse_json('{"a": 1,')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.