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 6980301
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T17:59:54+00:00 2026-05-27T17:59:54+00:00

Parsing Google Plus JSON objects Using C# and Newtonsoft.Json library how one can parse

  • 0

Parsing Google Plus JSON objects

Using C# and Newtonsoft.Json library how one can parse following json code?

[["tsg.lac",
[[["3a4a7e8e0b3d5d66"],["Friends",null,"Your real friends, the ones you feel comfortable sharing private details with.",null,null,null,null,null,null,2,2,null,"00000000",1,1,1]]
,[["5947b6d78a8231f3"],["Family",null,"Your close and extended family, with as many or as few in-laws as you want.",null,null,null,null,null,null,2,2,null,"00000001",2,1,1]]
,[["22d0e3ec8c38fa24"],["Acquaintances",null,"A good place to stick people you've met but aren't particularly close to.",null,null,null,null,null,null,2,2,null,"00000002",5,1,1]]
,[["1adf9b0b0987c2ad"],["Following",null,"People you don't know personally, but whose posts you find interesting.",null,null,null,null,null,null,2,2,null,"00000003",6,1,1]]
,[["15"],["Blocked",null,null,null,null,null,null,null,null,2,1,null,"z9",null,1,1]]]
,[]
]
]

Basically how do you parse Json if you do not know the original structure?
Is it possible to parse it into generic key/value collection?

  • 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-27T17:59:55+00:00Added an answer on May 27, 2026 at 5:59 pm

    You can parse it like

    JArray jobj = (JArray)Newtonsoft.Json.JsonConvert.DeserializeObject(jStr);
    foreach (var x in jobj[0][1])
    {
         Console.WriteLine(x[0][0] + " " + x[1][2]);
    }
    

    and the output will be

    3a4a7e8e0b3d5d66 Your real friends, the ones you feel comfortable sharing private details with.
    5947b6d78a8231f3 Your close and extended family, with as many or as few in-laws as you want.
    22d0e3ec8c38fa24 A good place to stick people you’ve met but aren’t particularly close to.
    1adf9b0b0987c2ad People you don’t know personally, but whose posts you find interesting.

    PS: JsonView is a very good tool to help you

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

Sidebar

Related Questions

I`m parsing a Google Maps RSS with javascript and using the following code to
I am using the following code for parsing dom document but at the end
I'm parsing JSON using GSON, but get an error when I try to parse
There is some strange behaviour in parsing KML produced by Google Earth using a
I'm trying to write parsing script using python/scrapy. How can I remove [] and
I'm using the Zend framework and the openid selector from http://code.google.com/p/openid-selector/ - however I
I'm currently parsing a JSON response from the Google Translate API. I'm able to
Im trying to parse the XML returned by the Google Geo code API ,but
Google Gears provides a geolocation API that can take LAC-CELLId information and supply lat-long
Trying to learn how to use JSON and parse the json data.i am using

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.