Possible to read data from a json file stored online?

0 favourites
  • 3 posts
From the Asset Store
Data+ is the best Data Management solution for Construct 3. It contains 4 Addons (Plugin & Behavior).
  • Hi I am creating a devotional app and I have the data stored online in both csv & json format.

    I am wondering if its possible with C3 to read the data from the files online.

    I have searched forum and could only find a plugin which does not seem to work.

    Thanks

  • It is possible - request the file with AJAX, then feed it into JSON object.

    You can do the same with CSV, load it into CSV object (will need need to install CSV addon) or text variable.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi thanks. Actually I just found an easy way out with json since I was finding it hard to convert my csv to json due to the number of commas I have in each text line since I have over a thousand lines of texts.

    I just created an array file in C3 and copied and pasted all the text into it and downloaded the file and uploaded it online since that already generates the json version hence saving me from doing complex conversion.

    Now I just need to try and read each data as needed.

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