You would do this just like any coding for ACF, but replacing the values in the json with the ACF field values.
What about your code is not working?
The how to schema does not match what you are trying to do for a FAQ.
I have not coded something like this and I have not seen any examples of doing this. All I can do is help you with code if you have specific questions or problems, but I can’t do all the coding for you.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users