clicon / clixon

YANG-based toolchain including NETCONF and RESTCONF interfaces and an interactive CLI
http://www.clicon.org/
Other
215 stars 72 forks source link

Convert int64, uint64 and decimal64 to string in xml to json #310

Closed lukon89 closed 2 years ago

lukon89 commented 2 years ago

Convert int64, uint64 and decimal64 to string in xml to json convertion (regarding to RFC7951):

A value of the "int64", "uint64", or "decimal64" type is represented as a JSON string whose content is the lexical representation of the corresponding YANG type as specified in Sections [9.2.1](https://datatracker.ietf.org/doc/html/rfc7951#section-9.2.1) and [9.3.1](https://datatracker.ietf.org/doc/html/rfc7951#section-9.3.1) of [[RFC7950](https://datatracker.ietf.org/doc/html/rfc7950)].

olofhagsand commented 2 years ago

Thanks for making Clixon more compliant