parse

Parse the BarcodeFormat from a string