decode

The shapes in text, in the order they were written.

Throws

if text is not JSON, not a document of this format, of a newer VERSION, or holds a shape that breaks the model's rules (a polygon with two points, a latitude of 120, a picture that is missing, ...). The message names the shape.