dist/jsonpath-object-transform.js
/**
   * Get object property from data object.
   *
   * @param {object} data
   * @param {object} pathObj
   * @param {object} result
   * @param {string} key
   */
Get object property from data object.
Get object property from data object .
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.
Get object property from data object .