R/asJSON.pairlist.R

setMethod("asJSON", "pairlist", function(x, ...) {
  asJSON(as.vector(x, mode = "list"), ...)
})

Try the jsonlite package in your browser

Any scripts or data that you put into this service are public.

jsonlite documentation built on April 4, 2025, 5:24 a.m.