Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • 63
    JSON is a pretty simple protocol so it really doesn't require a huge amount of masochism. Once you have it, you can use the one routine for all your JSON. Anyway, i've done it for you here simple-talk.com/sql/t-sql-programming/… Commented Nov 15, 2010 at 18:04
  • 11
    Phil Factor: I've been reading your articles for many years. If you hadn't have written this article today I'd probably have quoted it 6 months ago when I answered...
    – gbn
    Commented Nov 15, 2010 at 18:10
  • 10
    There is a built-in support for parsing JSON text in new SQL Server 2016.
    – Jovan MSFT
    Commented Nov 10, 2015 at 8:35
  • 1
    Here is a very helpful article from the Simple Talk website that outlines how to take a JSon string and output it into tables and columns that can be queried. This is for SQL Server 2016: https://www.simple-talk.com/sql/learn-sql-server/json-support-in-sql-server-2016/
    – codeaf
    Commented Jul 28, 2016 at 18:10
  • 1
    Here is a code example on how to parse JSON using the CLR appoach: blog.dotnetframework.org/2016/12/06/…
    – Fiach Reid
    Commented Dec 6, 2016 at 17:58