So I'm working on a game, and I'm using a JSON table in a StringValue, that passes through this code
function grabData(object) local dataTable if object:WaitForChild("Data",0.001) then local dataTable = game:GetService("HttpService"):JSONDecode(tostring(object.Data.Value)) end if dataTable == nil then return nil else return dataTable end end
and the JSON Table is
{"Destructable":true,"Health":20,"State":"Crate1","Holdable":true}
But I keep getting the can't parse JSON error