Skip to main content
Verticopolis engineGitHub

decode_vctower

Function decode_vctower 

Source
pub fn decode_vctower(text: &str) -> Result<Value, String>
Expand description

Reads a .vctower file’s text into its save JSON, ready for deserialize. Refuses text that is not a .vctower file, and one that would inflate past 32 MiB.