Handling JSON Data in SQL Server
JSON data has been around for a long time. It is the preferred format for mobile and application data. Application developers love JSON because of its flexibility and overall ease of use. Application tools such as .NET have a significant amount of built-in functionality to support this technology.
It is this very flexibility that brings us to handling JSON data in SQL Server. By its very nature, JSON is not relational nor is it tabular. This means typical SQL support for working with JSON does not exist as we normally view it. In this chapter, we will be introducing you to the functionality within SQL Server that supports the production and consumption of JSON.
The following topics will be covered in this chapter:
- Introducing the JSON functionality built into SQL Server (and some of its limitations)
- Using JSON SQL functionality to build JSON-formatted results from our database
- Using JSON SQL functionality to shape JSON data into...