encoding/json: encoding.UnmarshalText() produces unexpected values when json.Unmarshaling. #38046
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Uh oh!
There was an error while loading. Please reload this page.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes, however it seems
v1.13.X
is working properly.What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I tried to implement
encoding.TextUnmarshaler
for unmarshaling JSON. However when escaped characters are added to the end of a JSON value the unmarshaled value becomes mangled and includes JSON formatting characters.What did you expect to see?
key: "RC_US"
What did you see instead?
key: "RC_US\": {\n\t\t\t"
The text was updated successfully, but these errors were encountered: