Learn R Programming

webdeveloper (version 0.1.0)

jsonStr: Format data as a JSON object (like this: <U+201C>x<U+201D>: <U+201C>120<U+201D> ).

Description

Format data as a JSON object (like this: <U+201C>x<U+201D>: <U+201C>120<U+201D> ).

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

Run this code
# NOT RUN {
jsonStr(name = "var1", val = "Blue")
# }

Run the code above in your browser using DataLab