Home Get specific json elements
Reply: 0

Get specific json elements

user608
1#
user608 Published in June 20, 2018, 1:23 am

I couln't find a similar case here, hence my question. I have a json like this:

{
  "prop1": "bla",
  "propn": "bla",
  "Data": {
    "42": {
      "prop1": "bla",
      "prop2": "bla",
      "Symbol": "42"
    },
    "abc": {
      "prop1": "bla",
      "prop2": "bla",
      "Symbol": "abc"
    }
  },
  "Type": 100
}

Now, how do I get all elements from Data, and the most I am interested in the ones that have the symbol property set. I tried Newtonsoft.json.linq and jobject, but got really no clue what to do here. Any guidance anyone? Thanks! Ronald

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.309548 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO