decode

The shapes in text, and what was left out.

Throws

if text is not JSON, or JSON that is not GeoJSON (no recognisable type).