jsonparser
jsonparser copied to clipboard
Dynamic json destructuring
I'm working with an endpoint that is subject to dynamic updates in key and value pairs. What is the most efficient way to parse a nested json object in a json array without knowing the exact key, but knowing potential value characters? I had in mind to iterate over values and simply use switch / if clauses to match contained characters by key value until reaching the nested object. Is that the ideal solution?
@nikolas7892 Has your problem been solved, if not, can you provide the implementation?