You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (JIRA)" <ji...@apache.org> on 2019/03/11 23:56:00 UTC
[jira] [Updated] (THRIFT-4816) incorrect JSON generated
[ https://issues.apache.org/jira/browse/THRIFT-4816?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jens Geyer updated THRIFT-4816:
-------------------------------
Description:
The JSON that comes out of TJSONProtocol seems slightly odd:
[1"auth"10{ <<< missing commas
"1":\{"i32":40002},
"2":\{"i64":59311498},
"3":\{"str":"some data"},
"4":\{"str":"more data"},
"5":\{"map":["str""str"0{} <<< missing commas
}]
was:
The JSON that comes out of TJSONProtocol seems slightly odd:
[1"auth"10
{ <<< missing commas
"1":\\{"i32":40002},
"2":\{"i64":59311498},
"3":\{"str":"some data"},
"4":\{"str":"more data"},
"5":\{"map":["str""str"0{} <<< missing commas
}]
> incorrect JSON generated
> ------------------------
>
> Key: THRIFT-4816
> URL: https://issues.apache.org/jira/browse/THRIFT-4816
> Project: Thrift
> Issue Type: Bug
> Components: C# - Library, netcore - Library, netstd - Library
> Reporter: Jens Geyer
> Assignee: Jens Geyer
> Priority: Major
>
> The JSON that comes out of TJSONProtocol seems slightly odd:
>
> [1"auth"10{ <<< missing commas
> "1":\{"i32":40002},
> "2":\{"i64":59311498},
> "3":\{"str":"some data"},
> "4":\{"str":"more data"},
> "5":\{"map":["str""str"0{} <<< missing commas
> }]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)