title: Getting sibling data from nested Json object
body: <p>First, thank you for any help you can provide!  I've been away from coding for awhile and am having some trouble solving a problem I have with some dynamic JSON data and hoping someone can help me understand where I am stuck.</p>
  <p>I am pulling some data in node using node-fetch and returning a JSON object with their data.  Heres the structure that returns.
  <a href="https://i.stack.imgur.com/P7bOo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/P7bOo.png" alt="JSON Object" /></a></p>
  <p>I need to pull the assets: # based on its sibling template id and I cannot seem to figure it out.  I can pull the data if I use  <code>data.data.templates[0].assets</code>, but the template ID is not always going to be in the same[0] spot in the structure depending on how many templates the user has.  I have checked a few posts here and thinking I may need to use JSON Expressions but I am not really getting how to make it work.</p>
  <p><code>data.data.templates[templates == '210537'].assets);</code>  feels like I am close but no cigar yet.</p>
  <p>Can anyone point me to a post that might help me understand what I am missing!?  The extra nesting is throwing me off and I am so confused at this point!</p>
  <p>I've looked over this post <a href="https://stackoverflow.com/questions/13016304/json-sibling-data">json sibling data</a> and a few others around the web but still stuck.  Also it's a Node project and I am fetching the data from the web using the node-fetch module.  I don't think that matters but just a little more info incase it does.</p>