I am writing a dll file and need to extract json from the response information. When I use c# to write the following code, I run an error in fiddler, please help me. Thank you very much.
dynamic data = JObject.Parse(source);
string re = data.result;
runing result :
Fiddler has encountered an unexpected problem with an extension. Could not load the file or assembly "Newtonsoft.Json,Version=13.0.0.0, Culture=neutral,PublickeyToken=30ad4fe6b2a6aeed" or one of its dependencies. The system can not find the file specified.Type:System.IO.FileNotFoundException
Source:sms
The error indicates that the library (Newtonsoft.Json) is missing, which is expected as it is an external NET assembly that needs to be provided. You could use the built-in methods as discussed here.
Alternatively, you could also add a .NET assembly reference and switch from JScript.NET to C# via Tools > Options > Scripting > Language