How do i fix this Json Error?

  • 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)