jsonStr {toolbox}R Documentation

Format data as a JSON object (like this: "x": "120").

Description

Format data as a JSON object (like this: "x": "120").

Usage

jsonStr(name, val)

Arguments

name

A string, the name of the JSON entry

val

A string, the value to associate with the JSON entry.

Value

A string, data formatted as a JSON object.

Examples

jsonStr(name = "var1", val = "Blue")

[Package toolbox version 0.1.1 Index]