﻿/// <reference path="~/Scripts/ByteStorm/_BSC_Interface.js" />
(function()
{
	BSC.D.JSON = function()
	{
		return {
			ToString: function(value, whitelist)
			{
				return JSON.stringify(value, whitelist)
			},
			Parse: function(text, filter) 
			{
				if(!text || text == undefined) return null;
				return JSON.parse(text, filter)
			}
		};
	} ();
})();
    
