Our company uses another companys api. This api is written using IBM domino. This api is horrifically inconsistent and outdated. E.g. sometimes returning JSON, sometimes html. Inconsistent naming and types. What would be the best course of action? I don't think we can force them to update their api. Would it be best to implement a "sanity layer" in our client to manipulate the json response to be consistent? Or just deal with complexity directly when serializing the json?
- Look into the facade design pattern.Robbie Dee– Robbie Dee2016-09-07 07:57:17 +00:00Commented Sep 7, 2016 at 7:57
Add a comment |
- The Overflow Blog
-
-
- Featured on Meta
-
-
Related
Hot Network Questions
- Think inside the box
- What form factor did the first-gen "compact Mac" HDDs use?
- How to parse a Library of Congress classification record prefixed with LCSH?
- Effective resistance of a finite grid of resistor
- Does the content of LUKS disks become encrypted again at unmount or at power-off
- A Sequence of Words
- A tiny Java framework for gathering running time statistics - Take III
- Why are novel, easier music notation systems not widely accepted?
- Does Hebrew really have 7 words for gold?
- Ioniq 6 "Oil Fortifier"
- Looking for a book for teenagers involving heaven and hell
- Why does the Bond girl Rublevitch have a seemingly male name?
- How to change instance color based on rotation in Geometry Nodes
- How to automatically refresh or reload Import CSV node data?
- Is there any liability associated with chatbots that pretend to be human?
- Induced Topological Vector Space Structure?
- Do NPCs have Will in Chuubo's?
- When was the last time U.S. Congress overrode a president's veto?
- Replacing Exterior Outlet/Receptacle Covers
- Whose responsibility is it to destroy a C++20 coroutine that throws from its initial suspend?
- Three-cushion billiards challenge.
- What does "epignosei" mean in Romans 1:28?
- Center of a finite perfect group
- Does the passport one use to enter and leave a country sometimes determine which passport one must use when entering the next country?