Can OpenAI Process and Retrieve Data from Deeply Nested JSON

I am building a search application using RAG and need to process deeply nested JSON data. It would be really helpful if anyone could guide me on whether I can chunk the JSON to find similar matches or if there’s a better approach to handle this. Additionally, I would love to know if OpenAI can understand deeply nested JSON structures and provide accurate responses when queried. Any insights would be greatly appreciated!