I have legacy PHP code that provides a WebApi and I need to consume it inside My c# code.
in some cases, the incoming results are detected as malformed Json and after more investigation, we found one closing bracket (}) is missing at the end of the response.
I searched a lot and it seems this SOF question is related to our problem.
but the interesting point is that other PHP servers have no issue with the same result.
I need to figure out how to resolve the problem as a priority in PHP Server code and then on my c# client code.