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

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

View File

@ -27,7 +27,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 | {example-tag-key:["bar"bar"bar] , example-field:["3"4"1]} |
5. Finally, use the findRecord() function to extract the value from the final column, the JSON.
5. Use the `findRecord()` function to extract the value from the final column, the JSON.
6. This example usest the [Post Test Server](https://ptsv2.com/) to grab a URL to dump the JSON and test the `http.post()` function.
```js