Is this way to decompress ZSTD (v1.5.2) in Luau here to stay?

Roblox has relatively recently introduced the ability to decompress ZSTD compressed data using JSONDecode. I’m curious if this feature will be a permanent addition because I’d like to incorporate it into various projects, most notably a RBXM deserializer in Luau.

Example code:

game.HttpService:JSONDecode('{"m": null, "t": "buffer", "zbase64": ""}') --> ZSTD_getFrameContentSize returned error Unspecified error code
2 Likes

Roblox typically deprecates features rather than removing them to avoid breaking older games. You should be fine.

Usually this is the case with things that are announced/instance related, however, this was discovered via reverse engineering and no official announcement was made about it.

Unless Roblox changes how JSONDecode works or how RBXM files are saved, you should be fine.