for json path, for json auto
Posted by: Travis Loyd
Date: October 13, 2021 09:19AM

I'm switching a project over from mssql to mysql. In many places there are SELECT statements with 'FOR JSON PATH' appended to the end which with mssql returns formatted JSON, which is then sent to the user via a webapi.

I can see that I can create objects in my C# code, load them up with data, and return the objects which will be converted into JSON.

Does MySQL have something similar or equivalent to 'FOR JSON PATH', in order to avoid having to create the classes for the json conversion process?

Options: ReplyQuote


Subject
Views
Written By
Posted
for json path, for json auto
478
October 13, 2021 09:19AM
221
October 13, 2021 10:12AM
116
October 14, 2021 06:09PM
114
October 14, 2021 06:21PM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.