You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a function that binds to a JObject, if the received message does not have a contentType of application/json, a stackoverflow occurs - apparently due to the DataContractBinarySerializer getting confused. A simple fix would be to reorder the operations listed here, so that we do the Json conversion attempt before the XML attempt. Or we could check the typeof(TElement) and special case JObject to preserve the existing behavior as much as possible.
The text was updated successfully, but these errors were encountered:
When creating a function that binds to a JObject, if the received message does not have a contentType of application/json, a stackoverflow occurs - apparently due to the DataContractBinarySerializer getting confused. A simple fix would be to reorder the operations listed here, so that we do the Json conversion attempt before the XML attempt. Or we could check the typeof(TElement) and special case JObject to preserve the existing behavior as much as possible.
The text was updated successfully, but these errors were encountered: