typeToJSON {XR} | R Documentation |
Convert a Simple Object to JSON String
Description
Convert a simple object (should have no attributes or formal class) to JSON string. Called from some specific interface packages, usually to put quotes and escapes into a string.
Usage
typeToJSON(object, prototype)
Arguments
object |
the object to convert; only its type will be used to select format |
prototype |
the prototype object, supplied from the evaluator calling this function |
References
Chambers, John M. (2016) Extending R, Chapman & Hall/CRC. ( Chapter 13, discussing this package, is included in the package: ../doc/Chapter_XR.pdf.)
[Package XR version 0.7.2 Index]