I'm currently uploading large JSON's to Postgres and convert these to character text to be available in one cell. After which I could use them in next session by using;
eval(parse(text = text) , however
tibble() objects are converted to
list() when using
as.character(), is there a way around this?
A small example:
df <- list(tibble(a = tibble(a = "some text", b = "more text"), b = c("char"))) text <- as.character(df)
Which results in the following string:
text  "list(a = list(a = \"some text\", b = \"more text\"), b = \"char\")"