How do I parse dynamic JSON?

0 favourites
  • 1 posts
From the Asset Store
Firebase: Analytics, Dynamic Links, Remote Config, Performance, Crashlytics on Android, iOS & Web Browser
  • Hi - I'm receiving dynamic JSON data from API endpoint

    sample response:

    { "success": true, "error": null, "data": [{ "id": 9164, "name": "Gilberto", "name_short": "Class Clown", "desctription": "Graduated 2004", "picture": "https//:imgur.gif", "link": "https://www.google.com", }, { "id": 2149, "name": "Jose", "name_short": "Captain Virtue Signal", "desctription": "Graduated 2000", "picture": "https//:imgur.gif", "link": "https://www.bing.com", }, { "id": 6666, "name": "hAcKerMans", "name_short": "White Knight of Keyboard", "desctription": "Graduated Whenever he wants", "picture": "https//:imgur.gif", "link": "https://www.facebook.com", } ] }

    Questions is, how do I parse select data to C3 Objects (eg. "name" to text, "link" to button/sprite, & "picture" to sprite.) if they constantly change?

    Tagged:

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)