mirror of
https://github.com/mikefarah/yq.git
synced 2026-07-10 16:55:40 +00:00
Change "array scalars" to "arrays"
This commit is contained in:
parent
a3ca396832
commit
3cd679738d
@ -309,7 +309,7 @@ cat,"thing1,thing2",true,3.40
|
|||||||
dog,thing3,false,12
|
dog,thing3,false,12
|
||||||
```
|
```
|
||||||
|
|
||||||
## Encode array of array scalars as tsv string
|
## Encode array of arrays as tsv string
|
||||||
Scalars are strings, numbers and booleans.
|
Scalars are strings, numbers and booleans.
|
||||||
|
|
||||||
Given a sample.yml file of:
|
Given a sample.yml file of:
|
||||||
|
|||||||
@ -179,7 +179,7 @@ var encoderDecoderOperatorScenarios = []expressionScenario{
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
description: "Encode array of array scalars as tsv string",
|
description: "Encode array of arrays as tsv string",
|
||||||
subdescription: "Scalars are strings, numbers and booleans.",
|
subdescription: "Scalars are strings, numbers and booleans.",
|
||||||
document: `[[cat, "thing1,thing2", true, 3.40], [dog, thing3, false, 12]]`,
|
document: `[[cat, "thing1,thing2", true, 3.40], [dog, thing3, false, 12]]`,
|
||||||
expression: `@tsv`,
|
expression: `@tsv`,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user