Reading:

var jsonText = File.Read('data.json');
var jsonData = JSON.parse(jsonText);

Writing:

var jsonText = JSON.stringify(jsonData,null,'\t');
File.Write('data.json', jsonText);

An attached sample contains a working example that opens JSON, dumps data, modifies and saves it back.