jsonparser icon indicating copy to clipboard operation
jsonparser copied to clipboard

Dynamic json destructuring

Open nikolaigeorgie opened this issue 7 years ago • 1 comments

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?

nikolaigeorgie avatar Oct 22 '18 06:10 nikolaigeorgie

@nikolas7892 Has your problem been solved, if not, can you provide the implementation?

AllenX2018 avatar Mar 27 '20 09:03 AllenX2018