* `asJSON` is not exported from `jsonlite` (see https://github.com/jeroen/jsonlite/issues/62), so extending it is a bit of a hack * use class `json` for the json vector. Does this cause any problem as `jsonlite` also uses the class `json`?
asJSONis not exported fromjsonlite(see adding a toJSON method for custom class jeroen/jsonlite#62), so extending it is a bit of a hackjsonfor the json vector. Does this cause any problem asjsonlitealso uses the classjson?