# How can I extract object values from nested JSON and do the assertions for the same

**URL:** <https://community.postman.com/t/how-can-i-extract-object-values-from-nested-json-and-do-the-assertions-for-the-same/31615>\
**Category:** Help Hub\
**Tags:** tests, variables, collections\
**Created:** [January 17, 2022, 8:52am UTC](https://community.postman.com/t/how-can-i-extract-object-values-from-nested-json-and-do-the-assertions-for-the-same/31615 "2022-01-17T08:52:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![altimetry-explorer-4](https://avatars.discourse-cdn.com/v4/letter/a/54ee81/32.png) [@altimetry-explorer-4](https://community.postman.com/u/altimetry-explorer-4)\
**Post date:** [January 17, 2022, 8:52am UTC](https://community.postman.com/t/how-can-i-extract-object-values-from-nested-json-and-do-the-assertions-for-the-same/31615/1 "2022-01-17T08:52:39Z")

</div>

**Your question may already have an answer on the community forum. Please search for related topics, and then read through the [guidelines](https://community.postman.com/t/about-the-just-getting-started-category/37) before creating a new topic.**

> Here’s an outline with best practices for making your inquiry.

_My question_:  
Hi Team ,I am new API testing in postman could you please help me to find a solution for my question  
How can I extract object values from nested JSON and do the assertions for the same

{

```
"Language": "du",
"key": "EU",
"languages": [
    "de",
    "en",
 ],
"name": {
    "de": "EU",
    "en": "EU",
    "it": "EU",
    "fr": "EU",
},

```

}

This is the json response and here i want to get and store all the key and values under “name” object and have to validate if the values are matching
