So I have a database set up that stores user information. I'm using AJAX to request that information which comes back to me in the form of a JSON. I need to take that JSON and populate a dictionary object with it.
My Code
On Start of Layout -> AJAX: Request "http://mywebsite/JSONInfo.php" (tag "load")
AJAX On "load" completed -> Dictionary Load from JSON string AJAX.LastData
I can take the JSON that is being returned copy and paste the text into the Dictionary Load from JSON string and it works fine. But when I use AJAX.LastData it fails. I tried storing the AJAX Data into a variable and telling the Dictionary object to load the variable and still nothing. I also tried putting the JSON into a text object which worked then tried telling the dictionary object to use that text and still it doesn't work.
So I don't understand why I can copy/paste the data into the dictionary and it works fine. But I cannot put the data into the dictionary using any other means.