MelbourneDeveloper/RestClient.Net

Deserialization Error On Delete

MelbourneDeveloper opened this issue · 2 comments

It's trying to deserialize the response body but this may be null or empty string.

Probably no need to deserialize unless explicitly stated.

In fact this is a problem with several methods. It tries to deserialize when not necessary

Actually, even if a Get returns empty string, an error will occur

This seems to be more of a problem with the default deserializer. If the json is "", it will throw an exception. It should just return null.