All I can really give you is what I posted about this subject when I was attempting to do it.
You need to create an acf/load_value filter priority > 10. At this point the ACF value might be the unserialized version of the value, you will need to test this by
var_dump($value). You might be able to correct the value at this point. If not then you need to use get_post_meta() to have WP get the value. This value will also be the unserialized value. WP automatically unserializes data when it is retrieved. Depending on the values that you get you then need to serialize it correctly so it matches what you want it to be and return the correct value from the filter.
You’ve basically got to undo what WP has done to the value so that it appears in the text field correctly.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
Sorry for the issues with ACF's API SSL certificate this morning. We've resolved it and your activations and downloads should be back to normal again. Thanks! ^LG— Advanced Custom Fields (@wp_acf) November 2, 2022
© 2022 Advanced Custom Fields.