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

  • SEARCH
  • Home
  • 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 8384645
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T17:27:22+00:00 2026-06-09T17:27:22+00:00

Friends please help me to parse this response using Json object and json array

  • 0

Friends please help me to parse this response using Json object and json array concept
I get all field as Strings for displaying

{"status": "OK", 
 "data": {
       "passenger": [
               {"status": "S2 , 26", 
               "seat_number": "RAC 53,GNWL"}, 
               {"status": "S2 , 27", "seat_number": "RAC 54,GNWL"}], 
       "from": {"code": "MAQ", 
               "name": "MANGALORE", 
               "time": "14:40"}, 
       "chart_prepared": true, 
       "alight": 
               {"code": "LTT", 
               "name": "LOKMANYA TILAK (T)", 
               "time": "06:35"}, 
       "pnr_number": "4243907794", 
       "train_number": "12620", 
       "to":   {"code": "LTT", 
               "name": "LOKMANYA TILAK (T)", 
               "time": "06:35"}, 
       "board": {"timestamp": 1344849000, 
               "code": "MAQ", 
               "name": "MANGALORE", 
               "time": "14:40"}, 
       "train_name": "MATSYAGANDA EXP", 
       "travel_date": {"date": "13-8-2012", 
               "timestamp": 1344796200}, 
       "class": "SL"
       }
 }
  • 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-06-09T17:27:24+00:00Added an answer on June 9, 2026 at 5:27 pm

    Here in above image of structure of your JSON
    enter image description here

    you should better use http://jsonviewer.stack.hu/ and paste your json here to view and understand its structure and then can use GSON or any other library to parse it and get what you want out of it

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Friends please help. I know that using jdk1.7 we can get the last access
Hey friends any one please help me for this issue.in this javascript code i
friends please help my java program crashes when run. I am using Jnotify to
Friends I have a json response like this {status:1,responseCode:1000,response:{actorGuid:1,daRemarks:Device is Nonoperational,serialNumber:1234567}} I am successfully
Dear Friends from Stackoverflow, Please help me with a problem that i'm having when
I have a question friends.Please help me guys. I am implementing an ios app
Hi friends i have added this in my form $email->addValidator(new Zend_Validate_Db_NoRecordExists(array( //add database, table
I am trying to get the names of my friends using FB Graph API
Hey Hi Friends I got exception in my method... please help me error like
I'm struggling with this for hours so please help me. This is my users

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.