[ 
https://issues.apache.org/jira/browse/THRIFT-5425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jens Geyer updated THRIFT-5425:
-------------------------------
    Component/s: Java - Library

> Throw an exception when reading TSimpleJson in Java
> ---------------------------------------------------
>
>                 Key: THRIFT-5425
>                 URL: https://issues.apache.org/jira/browse/THRIFT-5425
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Java - Library
>            Reporter: Thomas Bruggink
>            Assignee: Thomas Bruggink
>            Priority: Trivial
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> The current java implementation silently skips reading TSimpleJson which 
> results in an empty object. When not familiar with TSimpleJson silently not 
> reading anything causes confusion.
> If possible I would like to remove the todo comments, update the reader 
> comment and throw a TException("Not implemented").
> This same exception approach is present in the PHP and Python read 
> implementations.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to