AnsweredAssumed Answered

help with parsing

Question asked by michaelkirwan on Jan 25, 2016
Latest reply on Jan 27, 2016 by michaelkirwan

Hi All

Parsing has never been my strong point. Below is a response from an api request. The format is always the same but the information (in red) varies in length. I wonder could someone help parse the 3 pieces of information in red. Thank you in advance...

 

 

{"valid":true,"database":"ok","format_valid":true,"query":"IE6562566R","country_code":"IE","vat_number":"6562566R","company_name":"PHONEWATCH LTD","company_address":"MARK PHILIPS ,UNIT 3\/4 SANDYFORD PARK ,SANDYFORD INDUSTRIAL ESTATE ,DUBLIN 18"}

Outcomes