← Questions
JSON merge API with pluggable merge behaviors
0
I was asked this
No reports yet. Sign in to say where you were asked it.
Design and implement a function that merges two JSON documents, where the way conflicts are resolved is pluggable: for example, how two objects, two arrays or two different scalar values under the same key are combined. Show the default behaviors, how a caller plugs in its own, and how nested structures are handled.
No official answer yet. Write yours on the right and run it.
Nothing published yet.
Sign in to submit your code; every attempt is kept here.
Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding
