title: Get attribute path from JSON
body: <p>I was trying to find ways to get an attribute path from a JSON.
  However, I only see a path extractor if the path is known and not vice verca.</p>
  <p>Here is an example:
  I'm looking to get the 'numComments' attribute path from the following JSON (the path is: <code>inpage.header.numComments</code>).</p>
  <pre class="lang-JSON prettyprint-override"><code>{
     &quot;inpage&quot;: {
        &quot;conversation&quot;: {
          &quot;completeEmailRegistration&quot;: {
            &quot;button&quot;: &quot;重新寄出确认电邮&quot;,
            &quot;succesMessage&quot;: {
              &quot;first&quot;: &quot;确认电邮已经寄到&quot;,
              &quot;second&quot;: &quot;请检查你的邮箱。&quot;
            },
            &quot;text&quot;: &quot;请检查您的邮箱以完成账号登记手续。&quot;
          },
          &quot;loadMoreReplies&quot;: &quot;Show More Comments&quot;,
          &quot;loadMoreReviews&quot;: &quot;显示更多评价&quot;,
          &quot;loadReplies&quot;: &quot;显示评论&quot;,
          &quot;replyTyping&quot;: &quot;{{value}}正在回复&quot;,
          &quot;showAllMessages&quot;: &quot;显示所有{{messagesCount}}回复&quot;,
          &quot;showMoreMessagesErrorMessage&quot;: &quot;无法得到更多回复&quot;,
          &quot;sortMenu&quot;: {
            &quot;best&quot;: &quot;最好&quot;,
            &quot;newest&quot;: &quot;最新&quot;,
            &quot;oldest&quot;: &quot;最旧&quot;,
            &quot;social&quot;: &quot;社交&quot;,
            &quot;sortBy&quot;: &quot;排序方式&quot;
          },
          &quot;viewReplies&quot;: &quot;显示回复&quot;,
          &quot;newMessagesMobile_0&quot;: &quot;{{numOfComments}} 条新评论&quot;,
          &quot;newMessages_0&quot;: &quot;查看 {{numOfComments}} 条新评论&quot;,
          &quot;showMoreMessagesOnlyNumber_0&quot;: &quot;{{messagesCount}} 个回复&quot;,
          &quot;showMoreMessages_0&quot;: &quot;再显示 {{messagesCount}} 个回复&quot;,
          &quot;showPreviousMessages_0&quot;: &quot;显示{{messagesCount}}个以前的回复&quot;,
          &quot;typingUsers_0&quot;: &quot;{{count}} 人在输入&quot;
        },
        &quot;header&quot;: {
          &quot;comments&quot;: &quot;评论&quot;,
          &quot;commentsCount&quot;: {
            &quot;more&quot;: &quot;{{messagesCount}}帖子&quot;,
            &quot;one&quot;: &quot;1个帖子&quot;
          },
          &quot;conversation&quot;: &quot;对话&quot;,
          &quot;explore&quot;: &quot;探索&quot;,
          &quot;starsRating&quot;: &quot;评价&quot;,
          &quot;subheader&quot;: {
            &quot;communityGuidelines&quot;: &quot;社区准则&quot;,
            &quot;gotIt&quot;: &quot;明白了&quot;,
            &quot;powered-by&quot;: &quot;技术支持：&quot;,
            &quot;text&quot;: &quot;阅读我们的&quot;
          },
          &quot;viewing&quot;: &quot;{{viewersCount}} 人正在观看&quot;,
          &quot;shortNumComments&quot;: &quot;({{messagesCount}})&quot;,
          &quot;shortNumComments_plural&quot;: &quot;({{messagesCount}})&quot;,
          &quot;numComments&quot;: &quot;{{messagesCount}}个评论&quot;,
          &quot;numComments_plural&quot;: &quot;{{messagesCount}}个评论&quot;,
          &quot;numPosts&quot;: &quot;{{messagesCount}}个帖子&quot;,
          &quot;numPosts_plural&quot;: &quot;{{messagesCount}}个帖子&quot;
        }
  }
  </code></pre>
  <p>Any suggestions?</p>