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
So I'm reading a postgres row that I have applied row_to_json for. And it returns a serde_json::Value. From there, I want to convert it to my struct. Calling into() causes a stack overflow error. However, converting it to a string first and then calling from_str works perfectly and returns the expected value
According to your description, impl Into<Organization> for serde_json::Value is recursing into itself and exhausting the stack. That impl is not a thing that is implemented by serde_json so this doesn't seem like a serde_json issue.
So I'm reading a postgres row that I have applied row_to_json for. And it returns a serde_json::Value. From there, I want to convert it to my struct. Calling into() causes a stack overflow error. However, converting it to a string first and then calling from_str works perfectly and returns the expected value
a)
b)
c)
The text was updated successfully, but these errors were encountered: