how do i use Array load from json string? why always empty?

  • json:

    [{"contextid": "1321313", "photo": "sadasdsadadsad"},{"contextid": "1321313", "photo": "sadasdsadadsad"},{"contextid": "1321313", "photo": "sadasdsadadsad"},{"contextid": "1321313", "photo": "sadasdsadadsad"},{"contextid": "1321313", "photo": "sadasdsadadsad"},{"contextid": "1321313", "photo": "sadasdsadadsad"},{"contextid": "1321313", "photo": "sadasdsadadsad"},{"contextid": "1321313", "photo": "sadasdsadadsad"},{"contextid": "1321313", "photo": "sadasdsadadsad"},{"contextid": "1321313", "photo": "sadasdsadadsad"}]

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It only accepts a paticular Json form for it to load.

    You can see the format by setting a text box to array.asJSON.

    If you need to read any json value the use one of the plugins made for json or use some js from the browser object

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)