nodehandler-json
About
This module installs the JSON flow-node to be used within Axway API Builder's
flow editor. The flow-node provides two methods:
Stringify
The Stringify method converts a JavaScript value to a JSON string.
Param | Type | Required | Description |
---|
value | any | y | The JavaScript value to be JSON encoded. |
space | number/string | | A string or number that's used to insert white space into the output JSON string for readability purposes. If this is a number, it indicates the number of space characters to use as white space; this number is capped at 10. If this is a string, its maximum length is 10; the string is used as white space. If this parameter is not provided, no white space is used. |
Parse
The Parse method parses a JSON string constructing the JavaScript value or object described by the string.
Param | Type | Required | Description |
---|
json | string | y | The JSON string to parse. |
Getting started
- Go to platform.axway.com and create an account
- Install API Builder
- Follow the Getting Started Guide
Install
After creating your API Builder project (appc new -t arrow
), you can install this flow-node handler
using npm:
npm install --save nodehandler-json
The "JSON" flow-node will then be available in the tools panel when creating or editing Flows.
License
This code is proprietary, closed source software licensed to you by Axway. All Rights Reserved. You may not modify Axway’s code without express written permission of Axway. You are licensed to use and distribute your services developed with the use of this software and dependencies, including distributing reasonable and appropriate portions of the Axway code and dependencies. Except as set forth above, this code MUST not be copied or otherwise redistributed without express written permission of Axway. This module is licensed as part of the Axway Platform and governed under the terms of the Axway license agreement (General Conditions) located here: https://support.axway.com/en/auth/general-conditions. Your right to use this software is strictly limited to the term (if any) of the license or subscription originally granted to you.