lib/common/utils/dataschema-json.js
function(metaFields, json_in, data_out) {
        if (isObject(metaFields)) {
            var key, path;
            for(key in metaFields) {
                if (metaFields.hasOwnProperty(key)) {
                    path = SchemaJSON.getPath(metaFields[key]);
                    if (path && json_in) {
                        data_out.meta[key] = SchemaJSON.getLocationValue(path, json_in);
                    }
                }
            }
        }
        else {
            data_out.error = new Error("JSON meta data retrieval failure");
        }
        return data_out;
    }
function(metaFields, json_in, data_out) {
        if (isObject(metaFields)) {
            var key, path;
            for(key in metaFields) {
                if (metaFields.hasOwnProperty(key)) {
                    path = SchemaJSON.getPath(metaFields[key]);
                    if (path && json_in) {
                        data_out.meta[key] = SchemaJSON.getLocationValue(path, json_in);
                    }
                }
            }
        }
        else {
            data_out.error = new Error("JSON meta data retrieval failure");
        }
        return data_out;
    }
function ( metaFields , json_in , data_out ) { if ( isObject ( metaFields ) ) { var key , path ; for ( key in metaFields ) { if ( metaFields . hasOwnProperty ( key ) ) { path = SchemaJSON . getPath ( metaFields [ key ] ) ; if ( path && json_in ) { data_out . meta [ key ] = SchemaJSON . getLocationValue ( path , json_in ) ; } } } } else { data_out . error = new Error ( "JSON meta data retrieval failure" ) ; } return data_out ; }
Parses results data according to schema

@method _parseMeta
@param metaFields {Object} Metafields definitions.
@param json_in {Object} JSON to parse.
@param data_out {Object} In-progress parsed data to update.
@return {Object} Schema-parsed meta data.
@static
@protected
Parses results data according to schema