parse

Specifies a custom parsing function that will be used to parse the raw data. The function is provided the raw data object in the original format it has been received and returns a JavaScript array of objects:

var dataSource = new shield.DataSource({
    schema: {
        parse: function (jsonString) {
            return JSON.parse(jsonString);
        }
    }
});