Avoid unboxing for vectors with 1 value

前端 未结 0 674
生来不讨喜
生来不讨喜 2021-01-31 21:47

For an API I wish to push data to, I need to avoid unboxing to happen on specific values.

Consider the following input:

library(jsonlite)

lsA <- list(p         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题