Is it possible to parse JSON in TSQL? I dont mean to create a JSON string, i mean to parse a json string passed in as a parameter.
+2
A:
Natively, there is no support. You'll have to use CLR. It is as simple as that, unless you have a huge masochistic streak and want to write a JSON parser in SQL
Normally, folk ask for JSON output from the DB and there are examples on the internet. But into a DB?
gbn
2010-05-19 19:28:46
Parse JSON on Database caller-side may be a good idea :)
Andrew Florko
2010-05-20 04:25:45