I'm stumped on this for whatever reason. How do I add a new root element to the below json?
{
"Test1":[{"TestValue1":"value1","TestValue2":"value2"}],
"Test2":[{"TestValue1":"value1","TestValue2":"value2"}],
"Test3":[{"TestValue1":"value1","TestValue2":"value2"}]
}
I'd like to add "Test4":[{"TestValue1":"value1","TestValue2":"value2"}]
I can read the data from a sql column with openjson and can update a property within one of the elements with json_modify but can't figure out how to add a full new element.
Thanks for any help, Kevin