Skip to content
Sharp

HTTP JSON APIs · interview question

Which JSON mapping strategy is recommended for maintaining backward compatibility when updating an API?

Multiple choiceEasychapter-11-curatedpremiumhttp-json-apisapi-versioning
Choose one answer
Answer and explanation

Correct answer

B. Additive changes

Why

Additive changes, such as adding new fields without removing or altering existing ones, maintain backward compatibility by ensuring existing clients still function correctly.

Test yourself on HTTP JSON APIs

A free test with instant, explained results. No account needed.

Start free test
All HTTP JSON APIs questions →