src/lib/object-mapper/get-key-value.js
function getValue(fromObject, fromKey) {
  var regDot = /\./g
    , regFinishArray = /.+(\[\])/g
    , keys
    , key
    , result
    , lastValue
    ;

  keys = fromKey.split(regDot);
  key = keys.splice(0, 1);

  result = _getValue(fromObject, key[0], keys);

  return handleArrayOfUndefined_(result);
}
function getValue(fromObject, fromKey) {
  var regDot = /\./g
    , regFinishArray = /.+(\[\])/g
    , keys
    , key
    , result
    , lastValue
    ;

  keys = fromKey.split(regDot);
  key = keys.splice(0, 1);

  result = _getValue(fromObject, key[0], keys);

  return handleArrayOfUndefined_(result);
}
function getValue ( fromObject , fromKey ) { var regDot = / \. / g , regFinishArray = / .+(\[\]) / g , keys , key , result , lastValue ; keys = fromKey . split ( regDot ) ; key = keys . splice ( 0 , 1 ) ; result = _getValue ( fromObject , key [ 0 ] , keys ) ; return handleArrayOfUndefined_ ( result ) ; }
Make the get of a value with the key in the passed object
@param fromObject
@param fromKey
@constructor
@returns {*}
Make the get of a value with the key in the passed object