Artur Kalimullin created AVRO-3124:
--------------------------------------

             Summary: Java: toString serializer produces incorrect JSON fields 
for Temporal logical types
                 Key: AVRO-3124
                 URL: https://issues.apache.org/jira/browse/AVRO-3124
             Project: Apache Avro
          Issue Type: Bug
          Components: java
            Reporter: Artur Kalimullin


When the java class has been generated using one of the Temporal logical types 
and then converted to JSON using toString(), the output field does is not a 
proper string:

 
{code:java}
"operationTime": 2021-04-29T04:01:57.465Z
{code}
This is an ISO-8601 compliant string, so it should be treated as a string:

 
{code:java}
"operationTime": "2021-04-29T04:01:57.465Z"
{code}



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

Reply via email to