lib/common/utils/dataschema-json.js
function(value, field) {
            if(field.parser) {
                var parser = (isFunction(field.parser)) ?
                    field.parser : null;//Y.Parsers[field.parser+''];
                if(parser) {
                    value = parser.call(this, value);
                }
                else {
                    //Y.log("Could not find parser for field " + Y.dump(field), "warn", "dataschema-json");
                }
            }
            return value;
        }
function(value, field) {
            if(field.parser) {
                var parser = (isFunction(field.parser)) ?
                    field.parser : null;//Y.Parsers[field.parser+''];
                if(parser) {
                    value = parser.call(this, value);
                }
                else {
                    //Y.log("Could not find parser for field " + Y.dump(field), "warn", "dataschema-json");
                }
            }
            return value;
        }
function ( value , field ) { if ( field . parser ) { var parser = ( isFunction ( field . parser ) ) ? field . parser : null ; //Y.Parsers[field.parser+'']; if ( parser ) { value = parser . call ( this , value ) ; } else { //Y.log("Could not find parser for field " + Y.dump(field), "warn", "dataschema-json"); } } return value ; }
Applies field parser, if defined

@method parse
@param value {Object} Original value.
@param field {Object} Field.
@return {Object} Type-converted value.
Applies field parser if defined