Learn R Programming

ambiorix (version 2.2.0)

jobj: JSON Object

Description

Serialises an object to JSON in res$render.

Usage

jobj(obj)

Value

Object of class "jobj".

Arguments

obj

Object to serialise.

Examples

Run this code
if (interactive()) {
  l <- list(a = "hello", b = 2L, c = 3)
  jobj(l)
}

Run the code above in your browser using DataLab