JSONDecode Isnt Returning A Table, But A String

Code

Error

Idk how I can fix this, please reply with any possible solutions.

Perhaps your value isnt encoded?
You could try printing the value before it is decoded.

Before/After

Idk what the problem is, After decoding it, it looks like a table.

Judging before the “before”, it looks like your original string was a JSON string encoded again into JSON. You’d have to decode twice, or find out where in the code you’re getting doubly encoded data.

4 Likes