updated json.parse to address PR feedback
parent
6b097a4287
commit
2704188505
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue