Binary subtype should be output as a two-digit padded hexadecimal string in JSON representation

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • 3.5.0
    • Affects Version/s: None
    • Component/s: JSON
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently the leading 0 is omitted when formatting a one digit binary subtype as JSON:

      { ... "$type" : "0"}
      

      Expected result according to the Extended JSON specification is:

      { ... "$type" : "00"}
      

              Assignee:
              Jeffrey Yemin
              Reporter:
              Jeffrey Yemin
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: