typeToJSON: Convert a Simple Object to JSON String

Description Usage Arguments References

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

1

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.)


johnmchambers/XR documentation built on May 19, 2019, 5:15 p.m.