Closed Albibek closed 4 years ago
i have the same problem
I think this is fixable by the library user. If you tell the library to convert strings to []bytes, and then have an extension that converts []byte to string, then you are asking for an infinite loop. Fixing this in the library may be more work than necessary. The library user should fix it.
Hello.
Found an issue when encoding json falls to infinite cycle and then crashes with stack overflow.
Seems like returning a string from converter makes this string required to be interpreted as raw bytes again and going back to converter again.