title: How to access object value using path?
body: <p>I have an object with such structure:</p>
  <pre><code>{
     data: {
        data: {
            data: {}...
        },
        info: {}
     },
     info: {}
  }
  </code></pre>
  <p>How I can get values using variable with path to it? For example, <code>path = 'obj.data.data.info'</code> (or may be <code>'data.data.info'</code> that's not important in general)</p>
  <p>I've tried <code>obj[path]</code> but that is not working.</p>
  <p>The only way I found is <code>obj[data][data][info]</code> (split path to some items). Is there a way to make it easier?</p>