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

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

XMLWordPrintable

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

      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.

        1. untitled1.tar
          20 kB
          Glen Mabey
        For Gerrit Dashboard: QTBUG-130555
        # Subject Branch Project Status CR V

            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

              Created:
              Updated:
              Resolved: