ParseJSON

Parse a given JSON string "value" to a representative object. Example: '{"a": "value"}' => {"a": "value"}.

javascript · Filters And Transformers

Details

IDParseJSON
Languagejavascript
From Version5.0.0
Tagstransformer string

README

Parses a given JSON string “value” to a representative object.

Example: {"a":"value"} => { “a”: “value”}.

Script Data


Name Description
Script Type javascript
Tags transformer, string

Inputs


Argument Name Description
value The string value to convert to JSON.

Outputs


There are no outputs for this script.

commonfields:
  id: ParseJSON
  version: -1
name: ParseJSON
script: ''
type: javascript
tags:
- transformer
- string
comment: 'Parse a given JSON string "value" to a representative object. Example: ''{"a": "value"}'' => {"a": "value"}.'
enabled: true
args:
- name: value
  description: The string value to convert to JSON.
  required: true
  default: true
scripttarget: 0
isllm: false
tests:
- No test
fromversion: 5.0.0