pub fn parse(text: &str) -> Result<Pasted>
Decode a clipboard string into a Pasted: a native Pixel8 JSON blob (a single { … } object), else a PICO-8 [gfx]/[sfx] blob. Any unrecognised or malformed text is an Err.
Pasted
{ … }
[gfx]
[sfx]
Err