Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
bradsheridan
Contributor III
Contributor III

Parsing a JSON response

Hi Community!  I'm trying to read Microsoft TFS data via APIs and I'm stuck...

 

Using a tRestClient, I'm calling an API that returns this data (obviously I've cleansed it a bit) :
0683p000009M1te.png

The output I'm looking for is this:

ID, Rev, AreaPath, TeamProject, ...Description, url

20913, 2, name\\jack, Big Project, ...In Mobile only...,https:\\...

 

Bottom line...I need to create a database table and load it with this data.  The table should have a column for each "key" in this response from they key/value pairs

Please help...I'm banging my head here! 

 

Brad  

 

UPDATE: I switched the tExtractJSONFields from Read By=JSON Path to Xpath and now it's working

Labels (4)
1 Reply
vapukov
Master II
Master II


@bradsheridan wrote:

 

  

Brad  

 

UPDATE: I switched the tExtractJSONFields from Read By=JSON Path to Xpath and now it's working


Hi Brad, congratulations!

 

it works with both and JSONPath and XPath, depends on personal preferences