Here is what i have tried so far and is throwing error.
(select 1 "code" FOR JSON path) as [User] ,Without_Array_Wrapper
I want an output like this. {"User":{"code":1}}
Here is what i have tried so far and is throwing error.
(select 1 "code" FOR JSON path) as [User] ,Without_Array_Wrapper
I want an output like this. {"User":{"code":1}}
2条答案
按热度按时间5ssjco0h1#
Here you go
gojuced72#
You can try this