[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: |
|
| 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
|