File: asJSON.vctrs.R

package info (click to toggle)
r-cran-jsonlite 1.9.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,340 kB
  • sloc: ansic: 3,792; sh: 9; makefile: 6
file content (5 lines) | stat: -rw-r--r-- 161 bytes parent folder | download
1
2
3
4
5
setMethod("asJSON", "vctrs_vctr", function(x, ...) {
  # dispatch based on the underlying type
  class(x) <- setdiff(class(x), 'vctrs_vctr')
  asJSON(x, ...)
})