lib/jsonpath-object-transform.js
function seekObject(data, pathObj, result, key) {
    if (typeof key !== 'undefined') {
      result = result[key] = {};
    }

    Object.keys(pathObj).forEach(function(name) {
      walk(data, pathObj[name], result, name);
    });
  }
function seekObject(data, pathObj, result, key) {
    if (typeof key !== 'undefined') {
      result = result[key] = {};
    }

    Object.keys(pathObj).forEach(function(name) {
      walk(data, pathObj[name], result, name);
    });
  }
function seekObject ( data , pathObj , result , key ) { if ( typeof key !== 'undefined' ) { result = result [ key ] = { } ; } Object . keys ( pathObj ) . forEach ( function ( name ) { walk ( data , pathObj [ name ] , result , name ) ; } ) ; }
Get object property from data object.

@param {object} data
@param {object} pathObj
@param {object} result
@param {string} key
Get object property from data object .