json_document_to_contract

Function json_document_to_contract 

Source
pub fn json_document_to_contract(
    path: impl AsRef<Path>,
    full_validation: bool,
    platform_version: &PlatformVersion,
) -> Result<DataContract, ProtocolError>
Expand description

Reads a JSON file and converts it a contract.