Heya! I'm using HTTPService and I have some JSON on my site that id like to retrieve via roblox
SiteAPI.Currency = function(username) MasterArg = Settings["MasterArg"] Retrieve = hs:GetAsync(Settings["Retrieve"] .. username .. MasterArg) RetrieveJSON = hs:JSONDecode(Retrieve) --print(Settings["Retrieve"] .. username .. b) --< Uncomment for debugging strings print(RetrieveJSON) end
Ignore the messy code.
However in the output I'm getting a table instead of the actual decoded json?
That's...because you're decoding the JSON -.-
Decoded JSON == table. Else it's just a string. Print the 'retrieve' instead.