Don't look at the code. It's very ugly. I made it to learn how xUnit and deploying nuget packages works and for using on another project
Get the Nuget package
Pass a collection of root nodes of JSON documents to OOJson.Solve. The root nodes and their children will be mutated.
{
"name": "base",
"obj": {
"value1": "abc",
"obj2": {
"value2": "def",
"value3": "ghi"
"arr" : ["1"]
}
}
}{
"inherit": "base",
"+obj": {
"+obj2": {
"value3": "jkl"
"+arr" : ["2"]
}
}
}After solving the second document becomes:
{
"inherit": "base",
"obj": {
"value1": "abc",
"obj2": {
"value2": "def"
"value3": "jkl"
"arr" : ["1","2"]
}
}
}