Convenience wrapper around importSnapshot that accepts a JSON string. Parsing is delegated to JSON.parse; malformed JSON surfaces as a parse exception before any commit is opened.
JSON.parse
The destination graph.
Serialised snapshot (as produced by exportSnapshotJson).
Forwarded to importSnapshot.
Convenience wrapper around importSnapshot that accepts a JSON string. Parsing is delegated to
JSON.parse; malformed JSON surfaces as a parse exception before any commit is opened.