radai rosenblatt created AVRO-3061:
--------------------------------------

             Summary: toString implementation on avro objects emits confusing 
json
                 Key: AVRO-3061
                 URL: https://issues.apache.org/jira/browse/AVRO-3061
             Project: Apache Avro
          Issue Type: Bug
          Components: java
    Affects Versions: 1.10.1
            Reporter: radai rosenblatt


toString() for both specific and generic records emits what looks to be avro 
json format, but isnt.

 

its close enough for new users to try using toString() output where avro json 
is expected.

 

it would be better if the toString() implementation was changed to use a proper 
JsonEncoder so that the output would actually be valid avro json. it would also 
result in less code overall



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

Reply via email to