Open sprunk opened 1 year ago
Seems to be a common and game-agnostic desire.
Spring.EncodeJSON(table)
Spring.DecodeJSON(string)
Spring.EncodeBase64(string)
Spring.DecodeBase64(string)
Indeed, these would be sensible to have on the C++ side anyway. While the lua json ones arent terrible, I recall I had to modify the base64 one to not make so much garbage with repeated string concatenations.
Seems to be a common and game-agnostic desire.
Spring.EncodeJSON(table)
-> stringSpring.DecodeJSON(string)
-> tableSpring.EncodeBase64(string)
-> stringSpring.DecodeBase64(string)
-> string