Update content/resources/how-to-guides/reduce-to-construct-JSON.md

pull/4160/head
kelseiv 2022-07-07 10:41:32 -07:00 committed by GitHub
parent acff52ebc5
commit b37b8c0353
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ Use the [reduce()](/flux/v0.x/stdlib/universe/reduce/) function to create a JSON
| :-------------------- | :----------------------------- |
| example-field:["3"4"1 | {example-tag-key:["bar"bar"bar |
4. Next, use the [map()](/flux/v0.x/stdlib/universe/map/) function to combine the two components together to complete our JSON and store it in the column `final`. Use a second yield() function to store the result as `final JSON`. This table looks like:
4. Use the [map()](/flux/v0.x/stdlib/universe/map/) function to combine the two components together into a JSON object, and then use a second `yield()` function to store this object as `final JSON`. This table looks like:
| field | tag | final |
| :-------------------- | :----------------------------- | :------------------------------------------------------- |