From 27041885059e7774cbd06a9ffbfb4f413eb944d0 Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Mon, 8 Jun 2020 21:44:03 -0600 Subject: [PATCH] updated json.parse to address PR feedback --- .../v2.0/reference/flux/stdlib/experimental/json/_index.md | 4 ++-- content/v2.0/reference/flux/stdlib/experimental/json/parse.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/content/v2.0/reference/flux/stdlib/experimental/json/_index.md b/content/v2.0/reference/flux/stdlib/experimental/json/_index.md index 41dcd211b..00b7b518a 100644 --- a/content/v2.0/reference/flux/stdlib/experimental/json/_index.md +++ b/content/v2.0/reference/flux/stdlib/experimental/json/_index.md @@ -2,7 +2,7 @@ title: Flux Experimental JSON package list_title: JSON package description: > - The Flux Experimental JSON package provides functions for working with JSON. + The Flux experimental JSON package provides functions for working with JSON. Import the `experimental/json` package. menu: v2_0_ref: @@ -13,7 +13,7 @@ weight: 301 v2.0/tags: [functions, json, package] --- -Flux JSON functions provide tools for working with Message Queuing Telemetry Transport (JSON) protocol. +Flux experimental JSON functions provide tools for working with JSON. Import the `experimental/json` package: ```js diff --git a/content/v2.0/reference/flux/stdlib/experimental/json/parse.md b/content/v2.0/reference/flux/stdlib/experimental/json/parse.md index 9a1447d5a..6bb41f989 100644 --- a/content/v2.0/reference/flux/stdlib/experimental/json/parse.md +++ b/content/v2.0/reference/flux/stdlib/experimental/json/parse.md @@ -10,7 +10,7 @@ weight: 401 --- The `json.parse()` function takes JSON data as bytes and returns a value. -The function can product lists, objects, strings, booleans, and float values. +The function can return lists, objects, strings, booleans, and float values. All numeric values are returned as floats. _**Function type:** Type conversion_ @@ -33,7 +33,7 @@ _**Data type:** Bytes_ ## Examples -##### Use JSON data to restructure a table +##### Parse and use JSON data to restructure a table ```js import "experimental/json"