Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-130555

JSON serialization of google.protobuf.Timestamp seems to be off

    XMLWordPrintable

Details

    • All
    • 4e8dddcb2 (dev), 3b11e0ec1 (6.9), 4faa8e5d3 (6.8), 00a86d9d2 (dev), 4c82a5762 (6.9), 9f733d53e (6.8)

    Description

      I'm disappointed/angry/frustrated/embarrassed that things aren't (or, don't seem to be) the way that they are (already) implemented in Qt protobuf, but the attached python script shows how google.protobuf.Timestamp, when using the canonical JSON serializer/deserializer, actually prints/accepts a date-time string instead of the beautiful/elegant/cant-go-wrong nanos+whole_seconds "true" representation of an instance. ugh.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            alexey.zerkin Alexey Zerkin
            glenm Glen Mabey
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: