I have a lot of documents which use the canonical null specification of ~ instead of the english null
Can we have an option to output either the original null type used or at least specify which type of null should we convert to
- Description: Sample Rule
IPAddress: 127.0.0.1
OpenPorts: [80,443]
RuleName: Sample
ValidFrom: ~
ValidTo: ~
gets converted to
- Description: Sample Rule
IPAddress: 127.0.0.1
OpenPorts: [80,443]
RuleName: Sample
ValidFrom: null
ValidTo: null
https://yaml.org/type/null.html
~ # (canonical)
|null|Null|NULL # (English)
| # (Empty)
I have a lot of documents which use the canonical null specification of ~ instead of the english null
Can we have an option to output either the original null type used or at least specify which type of null should we convert to
gets converted to
https://yaml.org/type/null.html