Did Json-SerializeObject & StreamWriter create a complete file?
here is my code : string json = JsonConvert.SerializeObject(stocksArticles,Formatting.Indented); StreamWriter sw = new StreamWriter("Export\Stocks.json"); sw.Write(json); it's working fine but the json file is not complete it's look like the StreamWriter stop before the end, this is the end of the…