How do i fix this Json Error?

0 favourites
  • 3 posts
From the Asset Store
Use this game pack to create your own game, modify the existing game or simply take a look and see how it was made.
  • At the start of my project i request an api that returns this json

    I then set a variable to json.get("word") which pulls the word in this case middlescence that all works but when I try to pull the definitions the same way it does not it returns a value of 0, I have tried JSON.Get("definitions(0)") or JSON.Get("definitions.text") But it still returns nothing what do i DO

    Tagged:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Try Get("definitions.0.text")

    Or use "JSON For each", see JSON template in C3.

  • dop2000 thank you so much it works now!!

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