metadata Json String
The metadata is free-form, user-provided Map which is serialized into JSON and is inserted into the small peer info system doc at each collection interval. The Map has no schema except for the following constraints:
All contained values must be JSON serializable.
The size of the Map serialized as JSON may not exceed 128 KB.
The Map may only be nested up to 64 levels deep.
Throws:
InternalErrorif the ditto core native handle is invalid.Throws:
SmallPeerInfoErroron set with relevant validation failure info.