Replying to @ozjimbob
Not obscure but also ... not obvious. Mapping 'complex' data structures to schemas is hard; running `serialize()` is easier. You can then `rawToChar()` it and should be able to store in a varchar, get it back and call `charToRaw(unserialize()). See my RcppRedis package.
Replying to @ozjimbob
Don't do JSON. R's own serialize is much better. You may just need `serialize(x, ascii=TRUE)`. We do this in another context (that is not on CRAN) and it ... just works. Give it a few more whirls, it is worth it. Friends don't let friends use JSON for large data.

Oct 14, 2022 · 1:38 AM UTC

1