-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ListJsonConverter Exception when reserializing / deserializing #149
Comments
Considering it more, your converters are used to serialize to/from your API response. To solve my issue I just inherited from your models and hid the base members
Then using automapper to map between
Kindof a workaround.. but it works well imho. This allowed me to re serialize / deserialize the models. You should consider removing the JsonConverter attributes and just use them during the serialization operation instead. I'll see if I can make some time and add a PR. Thanks! |
@SpencerWaz I'm running into the same issue that serialisation is generating an issue. Do you perhaps have an PR available? |
@MennoKlup Sorry for the delayed response.. this isn't my main account. I just moved on after using the workaround mentioned earlier.. but I suppose I can look into adding a PR later tonight when I'm off the clock. |
I'm getting an exception thrown when serializing and then de serializing Users.
Intercom: Error while serializing AppCount endpoint json result. Newtonsoft.Json: Error reading JObject from JsonReader. Current JsonReader item is not an object: StartArray. Path '[0].social_profiles', line 1, position 1297
Repo:
The stack trace shows the exception being thrown from: Intercom.Converters.AttributeConverters.ListJsonConverter.ReadJson
The text was updated successfully, but these errors were encountered: