lundi 20 septembre 2021

Build unify/normalize data structure from third party API

its more of design question , im reciving json data structure ( big one ) from thired party API
now i don't want to take this structure as is and popolate it to the diferent services as is becouse the thired party API may change the strucure ( but keep the data)
i want to recive it in one place in my app and build 1 data structure that my services will undestand .
what design patern should i use to this central place which recive the hired party API?
proxy ? delegator?

Aucun commentaire:

Enregistrer un commentaire