Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-1027

Large number types are not JSON-serialized as strings

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • 3.0.6, 2.1.13, 4.0.2
    • None
    • None
    • None

      RFC 7951 is quite explicit [0] on the requirement for int64, uint64 and decimal64 types to get serialized as JSON string values (so inside quotes, unlike other numbers).

      Restconf outputs numeric (as opposed to string) values for int64,  uint64 and decimal64 , so it is not RFC compliant in this sense.

      [0] https://tools.ietf.org/html/rfc7951#section-6.1

            mario.abraham Mario Abraham
            mario.abraham Mario Abraham
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: