I am getting CRAZY trying to use a Json Serializer/Deserializer in my Class Library and import my Assembly in SQL Server.
I am working with a WebAPI that response Json string , and I want to create CLR Sql Procedure that call that API and use the api result.
I tried 2 ways to Deserialize Json string :
1) System.Web.Script.Serialization
2) System.Runtime.Serialization.Json
First one get me this error :
Assembly 'system.web.extensions, version=4.0.0.0, culture=neutral, publickeytoken=31bf3856ad364e35.' was not found in the SQL catalog. (Microsoft SQL Server, Error: 6503)
And Second one :
Assembly 'system.runtime.serialization, version=4.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089.' was not found in the SQL catalog. (Microsoft SQL Server, Error: 6503)
Are there any way to parse json in my class library ?! (Except of creating a Json Serializer/Deserializer for my self in class library !!!)
Visual Studio 2015 Community , Microsoft Sql Server 2016 Developer
Thank you in Advance.