json empty type null encoded as [null]

This commit is contained in:
Olof hagsand 2019-07-29 15:14:24 +02:00
parent 3b93c812d4
commit d7a8cf5b0c
4 changed files with 35 additions and 24 deletions

View file

@ -27,8 +27,10 @@
* JSON changes
* Non-pretty-print output removed all extra spaces.
* Example: `{"nacm-example:x": 42}` --> {"nacm-example:x":42}`
* Empty JSON container changed from `null` to `{}`.
* Empty list and leafs remain as `null`
* Empty JSON values changed from `null` to:
* Empty yang container encoded as `{}`
* Empty leaf/leaf-list of type empty encoded as `[null]`
* Other empty values remain as `null`
### Minor changes
* Removed unnecessary configure dependencies