Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6758145
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T13:44:37+00:00 2026-05-26T13:44:37+00:00

I have a JSON string called EmployeeList being passed back to my webpage. It

  • 0

I have a JSON string called EmployeeList being passed back to my webpage. It is details being read in C# from an XML file. SO it contains details for two test employees.

it is below:

"[{"EmployeeId":"33","Name":"Test Name 1","Phone":"1234","Email":"test@hotmail.com"},{"EmployeeId":"31","Name":"Test Name 2","Phone":"1234","Email":"test2@hotmail.com"}]"

I wanted to use the below then to turn this into a Javscript object so that I can extract and maniuplate fields.

        var obj = jQuery.parseJSON(EmployeeList);

        alert(obj);

However my output from the alert is [object Object],[object Object]. Is there something I am missing or doing wrong here?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T13:44:38+00:00Added an answer on May 26, 2026 at 1:44 pm

    This is correct response as your List is an Array of Objects.

    To get name of employees you can get them like this:

    alert(EmployeeList[0].Name);
    alert(EmployeeList[1].Name);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a json string saved in my db. When i retrieve it from
I have the following PHP script being called by AJAX: <?php // file /ajax/loopback.php
I'm having troubles reading a Json result back from a controller method... I have
I have an object model called MyObject that I'm serializing to a json string
I have a db expando class called widget. I'm passing in a json string
If I have JSON data stored in a string called 'data' (e.g. the example
I have a function called CreateCriteriaExpression that takes a json string and creates a
I have converted my Datatable to json string use the following method... public string
I have one JSON that is coming in a string format. I need to
I basically have the following flow: XML -> JSON -> Spring MVC -> jsp

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.