You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Error- Could not load file or assembly 'Newtonsoft.json' version 12.0.0.0 or one of it dependencies.

Accepted answer
15
Views
4
Comments
edited Dec 10, 2019 9:34AM in Agent Desktop 4 comments

Summary

I am consuming rest api in my workpace add-ins and that api returns response in json format and using 'Newtonsoft.json' library to convert json attribute in my model

Content

Below are the code getting attribute value from api response using library

_apiResponse = _apiResponse.Replace("\n", "").Trim();
                    string visitorNode = JObject.Parse(_apiResponse)["XXXXX"].ToString();
                 

 

 

 

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!