1
0
mirror of https://github.com/taigrr/yq synced 2025-01-18 04:53:17 -08:00

Fixed null issue with entry operators

This commit is contained in:
Mike Farah
2021-05-10 10:42:43 +10:00
parent 6c3965dca3
commit a2bd463a91
3 changed files with 27 additions and 5 deletions

View File

@@ -35,6 +35,19 @@ will output
value: b
```
## to_entries null
Given a sample.yml file of:
```yaml
null
```
then
```bash
yq eval 'to_entries' sample.yml
```
will output
```yaml
```
## from_entries map
Given a sample.yml file of:
```yaml