Ravi Birla

Ravi Birla

  • NA
  • 292
  • 19.9k

How to deserialize json data(from URL) and show on label.

Feb 15 2018 1:34 AM
Hi Everyone,
 
I want to deserialize json data which is on solr URL after deserialization i wand to show that data on label and use it in if statement. Below is my JSON format:-
 
 {
"responseHeader":{
"status":0,
"QTime":0,
"params":{
"q":"vendor:abc",
"indent":"true",
"wt":"json"}},
"response":{"numFound":1,"start":0,"docs":[
{
"vendor":["abc"],
"value":[1000],
"id":"6257a225-0a35-4d0c-a0e4-dd9336d45641",
"_version_":1592304323677650944}]
}}
 
 I want to show only "value" which is in response object of json.
 
 Thanks,
 
 
 
 
 

Answers (4)