/JSONsimple

A simple JSON parse/stringify supercollider quarks

Primary LanguageSuperColliderGNU General Public License v3.0GPL-3.0

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).