Newtonsoft.Json error

0
0

this code on 2.2.59 work fine but 2.5.11 have an error

string json = Newtonsoft.Json.JsonConvert.SerializeObject(this.DataSource);

Error:Self referencing loop detected for property ‘DataView’ with type ‘System.Data.DataView’. Path ‘[0]’.’

this.DataSource is a DataGridView datasource

 

 

 

 

  • You must to post comments
0
0

Newtown is not our product. System.Data is Microsoft. In any case, the circular serialization error means that a class is self referencing at one point. This is not a Wisej issue.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.