[YANGTOOLS-1027] Large number types are not JSON-serialized as strings Created: 25/Sep/19  Updated: 07/Oct/19  Resolved: 07/Oct/19

Status: Resolved
Project: yangtools
Component/s: None
Affects Version/s: None
Fix Version/s: 3.0.6, 2.1.13, 4.0.2

Type: Bug Priority: Medium
Reporter: Mario Abraham Assignee: Mario Abraham
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File simulated_bug.png    

 Description   

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


Generated at Wed Feb 07 20:54:58 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.