{JSON} R# Documentation

JSON


require(R);

#' JSON (JavaScript Object Notation) is a lightweight data-interchange format.
imports "JSON" from "base";

JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. It is based on a subset of the JavaScript Programming Language Standard ECMA-262 3rd Edition - December 1999. JSON is a text format that is completely language independent but uses conventions of the R# language. JSON is an ideal data-interchange language.

JSON Is built On two structures: + A collection Of name/value pairs. In various languages, this Is realized As an Object, record, struct, dictionary, hash table, keyed list, Or associative array. + An ordered list Of values. In most languages, this Is realized As an array, vector, list, Or sequence. These are universal data structures. Virtually all modern programming languages support them In one form Or another. It makes sense that a data format that Is interchangeable With programming languages also be based On these structures.

JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. It is based on a subset of the JavaScript Programming Language Standard ECMA-262 3rd Edition - December 1999. JSON is a text format that is completely language independent but uses conventions of the R# language. JSON is an ideal data-interchange language.

JSON Is built On two structures: + A collection Of name/value pairs. In various languages, this Is realized As an Object, record, struct, dictionary, hash table, keyed list, Or associative array. + An ordered list Of values. In most languages, this Is realized As an array, vector, list, Or sequence. These are universal data structures. Virtually all modern programming languages support them In one form Or another. It makes sense that a data format that Is interchangeable With programming languages also be based On these structures.



.NET clr function exports
unescape

do string unescape

json_decode

Decodes a JSON string

a short cut method of parseJSON

json_encode

Returns the JSON representation of a value

parseJSON

parse JSON string into the raw JSON model or R data object

parseBSON

parse the binary JSON data into the raw JSON model or R data object

object

Convert the raw json model into R data object

writeBSON

save any R object into BSON stream data


[Document Index]