json_document_to_document

Function json_document_to_document 

Source
pub fn json_document_to_document(
    path: impl AsRef<Path>,
    owner_id: Option<Identifier>,
    document_type: DocumentTypeRef<'_>,
    _platform_version: &PlatformVersion,
) -> Result<Document, ProtocolError>
Expand description

Reads a JSON file and converts it a document.