-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Go - Library
-
Patch Info:Patch Available
Example to reproduce: Given a list<string> holding one "element", the following JSON data are rendered:
"lst":[11,1,"element"]
The expected sequence would be:
"lst":["str",1,"element"]
This is due to the method OutputElemListBegin(), which JSON inherits from SimpleJSON. This method writes the field type as a byte value, without passing it through TypeIdToString(), which is incorrect for JSON.
EDIT: Similar problem appears when a "lst" should be read.
- depends upon
-
THRIFT-1980 Modernize Go tooling, fix go client libary.
-
- Closed
-