Я сохраняю файлы .tmp, содержащие эти необработанные данные (буфер)
[{"start_bin_value":"000180000","end_bin_value":"000180999","card_length":"16","card_brand":"006","service_type":"002","card_organization":"003","cdv_validation":"1","issuer_region":"1","bin_country":"840","issuer_bin":"400087","cft_flag":"000","mt_flag":"001","funding_source":"D","restricted_use":"A"},{"start_bin_value":"021502670","end_bin_value":"021502909","card_length":"19","card_brand":"006","service_type":"002","card_organization":"003","cdv_validation":"0","issuer_region":"1","bin_country":"840","issuer_bin":"400087","cft_flag":"000","mt_flag":"001","funding_source":"D","restricted_use":"A"},{"start_bin_value":"221572830","end_bin_value":"221572839","card_length":"16","card_brand":"006","service_type":"002","card_organization":"003","cdv_validation":"0","issuer_region":"1","bin_country":"840","issuer_bin":"400087","cft_flag":"000","mt_flag":"000","funding_source":"D","restricted_use":"A"},{"start_bin_value":"308952000","end_bin_value":"308969999","card_length":"19","card_brand":"006","service_type":"002","card_organization":"003","cdv_validation":"0","issuer_region":"1","bin_country":"840","issuer_bin":"400087","cft_flag":"000","mt_flag":"001","funding_source":"D","restricted_use":"A"}]
Теперь я хотел бы проверить (каждый раз, когда я читаю эти файлы), что содержимое / необработанные данные не повреждены / не повреждены, и я могу как-то их проанализировать
Как я могу это сделать практически?
Спасибо.