I'm new to json. I have to filter json data using linq to json query in C#.I have to retrieve multiple values from the below sample json data:
{
"parts": [
{
"attributes": {
"Motherboard": "Gigabyte GA-H81M-S2H",
"Max RAM": "16GB",
"Form Factor": "Micro ATX",
"RAM Slots": 2,
"Socket / CPU": "LGA1150"
},
"type": "Motherboard",
"name": "Gigabyte GA-H81M-S2H",
"slug": "gigabyte-motherboard-gah81ms2h"
},
{
"attributes": {
"Motherboard": "MSI H55-G43",
"Max RAM": "16GB",
"Form Factor": "ATX",
"RAM Slots": 4,
"Socket / CPU": "LGA1156"
},
"type": "Motherboard",
"name": "MSI H55-G43",
"slug": "msi-motherboard-h55g43"
},
{
"url": "http://pcpartpicker.com/part/asus-motherboard-rampageivblackedition",
"attributes": {
"Motherboard": "Asus Rampage IV Black Edition",
"Max RAM": "128GB",
"Form Factor": "EATX",
"RAM Slots": 8,
"Socket / CPU": "LGA2011"
},
"type": "Motherboard",
"name": "Asus Rampage IV Black Edition",
"slug": "asus-motherboard-rampageivblackedition"
}
],
}
please help me with query how to select multiple (key,values) using where clause.I have to select name,slug,form factor,motherboard using where clause.