Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-2343

Invalid json string caused by logic timestamp millis

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 1.8.1, 1.8.2
    • None
    • java
    • None

    Description

      I am trying to use timestamp millis. The generated java code cannot be converted to an invalid json message, because the ISO timestamp is not correctly quoted.

      It will generate json, where the value is invalid, like:

      {"timestamp": 2019-03-09T21:45:39.594-08:00}

      instead of

      {"timestamp": "2019-03-09T21:45:39.594-08:00"}

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Henry Wu 富恒
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: