The intention of the package fuctionality is to (de)serialize language specific complex objects towards generic JSON-datatype objects. The JSON conversion allows for flexible cross language communication when the package is implemented in different languages. This package provides an R implementation of the (de)serialization functionality.
Currently, 6 generic complex JSON-datatypes are provided. Corresponding R-mappings are defined as follows:
JSON datetime - maps to POSIXct objects
JSON timeseries - maps to 1-dimensional xts objects
JSON timeseries_n_dim - maps to n-dimensional xts objects (n > 1)
JSON series: - maps to 1-dimensional dataframe objects
JSON dataframe: - maps to n-dimensional dataframe objects (n > 1)
JSON matrix: - maps to matrix objects
The package provides the user with the EssentialJSONSerializer reference class. Following functions are provided:
RToList: Convert complex R structures to a generic datatype list structure.
RToJSON: Convert complex R structures to a generic datatype JSON structure.
RFromList: Convert generic datatype list structure to complex R-specific objects.
RFromJSON: Convert generic datatype JSON structure to complex R-specific objects.
Examples:
- https://github.com/VermeirJellen/essentialjsonserializer_r
- http://EssentialDataScience.com/blog/essentialjsonserializer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.