bugfix in json_parse tags code

This commit is contained in:
Mike Dilger 2024-02-17 11:31:41 +13:00
parent 9c79b8440e
commit b941d67976

View File

@ -145,6 +145,7 @@ pub fn read_tags_array(
// Case where we have no tags
if num_tags == 0 {
put(output, 0, 4_u16.to_ne_bytes().as_slice())?;
burn_array(input, inposp)?;
return Ok(4);
}