Moksha
Moksha
Aug 8, 2017 · 1 min read

Hi Saoud !

Just a query connected with JSON (am absolutey new to this). Was wondering if you could help me with — How to get info from the following JSON in swift 4 using Codable. For your convenience I’ve attached the JSON structure below. Am only interested in extracting Title,Extract,Original Image(under thumbnail). The issue is that the pageid is used as the key to the information nested under it’s value.Any guidance is appreciated. Thanks

Moksha

Written by

Moksha

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade