View source: R/other_functions.R
| json2vector | R Documentation |
This function lets the user transform a JSON string into vector
(data.frame with 1 row). You can also pass a Python's dictionary.
For any other JSON transformation, jsonlite is recommended.
json2vector(json)
json |
Character. JSON string. |
List, data.frame, or vector. Depends on the json string.
Other Tools:
autoline(),
bind_files(),
bring_api(),
chr2num(),
db_download(),
db_upload(),
dont_sleep(),
export_plot(),
export_results(),
files_functions(),
font_exists(),
formatColoured(),
formatHTML(),
glued(),
grepm(),
h2o_selectmodel(),
haveInternet(),
image_metadata(),
importxlsx(),
ip_data(),
list_cats(),
listfiles(),
mail_send(),
markdown2df(),
move_files(),
msplit(),
myip(),
quiet(),
read.file(),
statusbar(),
tic(),
try_require(),
updateLares(),
warnifnot(),
what_size()
json2vector('{"id": 1, "nodata": null, "gender": "M"}')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.