Add a bunch of new languages

This commit is contained in:
Ingy döt Net 2013-04-09 00:31:41 -07:00
parent 1e05ecd7ee
commit 2a4d27cea0
158 changed files with 1469 additions and 0 deletions

1
Task/JSON/R/json-2.r Normal file
View file

@ -0,0 +1 @@
cat(toJSON(data))

3
Task/JSON/R/json.r Normal file
View file

@ -0,0 +1,3 @@
library(rjson)
data <- fromJSON('{ "foo": 1, "bar": [10, "apples"] }')
data

View file

@ -0,0 +1,8 @@
#lang racket
(require json)
(string->jsexpr
"{\"foo\":[1,2,3],\"bar\":null,\"baz\":\"blah\"}")
(write-json '(1 2 "three" #hash((x . 1) (y . 2) (z . 3))))