upload_json_file

Function upload_json_file 

Source
pub fn upload_json_file(
    filename: impl Into<String>,
    purpose: FilePurpose,
    json: &Value,
) -> Result<FileUploadBuilder, Error>
Expand description

Helper function to upload a JSON file.