put
Commits document under key, replacing any current version.
Parses json and commits it under key.
The overload that makes the first line of a program short. Identical to parsing with Variant.fromJson and calling the other put; malformed input is rejected with a byte offset, line and column before anything is written.