---
title: "How to get the second data of this JSON in jQuery?"  
description: "How to get the second data of this JSON in jQuery?"  
author: "Anurag Sharma"  
published: 2014-11-24  
updated: 2014-11-25  
canonical: https://www.mindstick.com/forum/12684/how-to-get-the-second-data-of-this-json-in-jquery  
category: "javascript"  
tags: ["jquery", "json"]  
reading_time: 1 minute  

---

# How to get the second data of this JSON in jQuery?

Hi Guys

How can I get the [second](https://answers.mindstick.com/qa/41761/how-did-the-second-industrial-revolution-influence-women-s-roles-in-society) [data](https://www.mindstick.com/articles/13050/salesforce-aiming-to-dominate-predictive-analytics-with-data-science) of this [JSON](https://www.mindstick.com/forum/34446/convert-json-string-to-object) - I am [beta](https://answers.mindstick.com/qa/30471/what-is-beta-version). in jQuery?

{"alpha":["I am alpha"],"beta":["I am beta."]}

Thanks

## Replies

### Reply by Anonymous User

**Step 1:** Json parsed,

**Step 2 :** Declared in another string

**Step 3 :** And then looped inside each entry

obj=JSON.parse(data);

var error_string='';

$.each(obj, function(entry) {

error_string+=obj[entry]+'<br/>';

});

$('#stage').html(error_string);

}

And then i got the values that is inside, Now i can able to get the values inside the object even for n numbers.


---

Original Source: https://www.mindstick.com/forum/12684/how-to-get-the-second-data-of-this-json-in-jquery

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
