pwqw / JSONsimple

A simple JSON parse/stringify supercollider quarks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tested on supercollider 3.8.0 and 3.10.2

Installation

include("https://github.com/AlexisCaffa/JSONsimple")

Then recompile class library.

Example

(
// creo el objeto
a = (
	birra: 12,
	birrb: [ 13, 14, 15 ],
	birrc: "algo",
	birrd: true,
	birre: Array.fill(8)
);

// convert to string json
b = JSON.stringify(a);

// parse from string
c = JSON.parse(b);
)

Credits

All credits to crucialfelix (see API).

About

A simple JSON parse/stringify supercollider quarks

License:GNU General Public License v3.0


Languages

Language:SuperCollider 100.0%