···13 match cid with
14 | Ok cid -> (
15 let blob : Hermes.blob =
16- {ref_= cid; mime_type= "image/png"; size= 12345L}
17 in
18 let json = Hermes.blob_to_yojson blob in
19 let json_str = Yojson.Safe.to_string json in
···38 match cid with
39 | Ok cid -> (
40 let original : Hermes.blob =
41- {ref_= cid; mime_type= "image/jpeg"; size= 54321L}
42 in
43 let json = Hermes.blob_to_yojson original in
44 match Hermes.blob_of_yojson json with
···13 match cid with
14 | Ok cid -> (
15 let blob : Hermes.blob =
16+ {type_= "blob"; ref= cid; mime_type= "image/png"; size= 12345L}
17 in
18 let json = Hermes.blob_to_yojson blob in
19 let json_str = Yojson.Safe.to_string json in
···38 match cid with
39 | Ok cid -> (
40 let original : Hermes.blob =
41+ {type_= "blob"; ref= cid; mime_type= "image/jpeg"; size= 54321L}
42 in
43 let json = Hermes.blob_to_yojson original in
44 match Hermes.blob_of_yojson json with