Convert JSON-stat object into JSON-stat JSON string
toJSON(x, auto_unbox)
JSON-stat object
this flag marks atomic vectors in given list as a singleton, so it will not turn into an 'array' when encoded into JSON. FALSE by default.
JSON output