I would like to convert a string such as:
{["ItemID"] = 1, ["Count"] = 2}
that I saved in a string value to an indexable table, how do I do that?
I would like to convert a string such as:
{["ItemID"] = 1, ["Count"] = 2}
that I saved in a string value to an indexable table, how do I do that?
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
https://developer.roblox.com/api-reference/function/HttpService/JSONEncode to turn table to string and https://developer.roblox.com/api-reference/function/HttpService/JSONDecode to turn strings to tables
Thank you very much helped me a lot!