skip to Main Content

Extract a value from JSON string

I'm trying to extract the value of tax_amount from JSON string but this line let taxAmountS = json["tax_amount"] as? String triggers an error. A print out of json (json string) looks like it should work, here it is ["client_secret": pi_3Q5hYZHbqLi,…

VIEW QUESTION
Back To Top
Search