vendredi 1 juillet 2016

Object oriented design pattern for parsing json files

I have sets of json files , each set having different structure .Each json structure have three things , either its a leaf or array or someOtherStructure .I want to write a generic parser which could parse a json for all sets of json files based on the above mentioned 3 structures.

Any anyone suggest a Object oriented design pattern for the above case.

Aucun commentaire:

Enregistrer un commentaire