Description Usage Arguments Value Examples
Utility to return a formatted JSON string
1 | FormatJSON_String(json.text, filename = NULL)
|
json.text |
- the JSON string |
filename |
= NULL, if you provide a string it will be written to that file in the current folder. Provide a full path if you want it to go somewhere else |
a formatted version of the json.text
1 2 3 4 5 6 | ## Not run:
json.text<-SomeJSON_string_from_SomeWhere
FormatJSON_String(json.text)
FormatJSON_String(json.text,filename='MyJSON_File.json')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.