JSON Parser for Front
Content Type: Module
Categories: Import/Export
Overview
Parse Json file in the frontend and native apps with nanoflows.
Parse the JSON to a tree of object.
Find a value based on the path of keys.
Documentation
Demo urlhttps://frontjsonparser-sandbox.mxapps.io/
Description
Allows to manipulate JSON in the frontend with nanoflows including in native apps.
Load the JSON string to a tree of non persistent objects that you can parse later.
Find a value based on its path of keys and return a list of found json objects (without creating the whole tree)
- Use the pipe “|” as separator. For arrays levels, use keyword "array"
- example = key1|array|key2|key3
Typical usage scenario
Manipulate all kinds of JSON payloads (Rest responses or MQTT messages) received with the frontend modules.
Dependencies
- Mx 9.16.1
Installation
Import module, the nanoflow activities are available in the “Json Parser” category.
Known bugs
none
Releases
Version: 1.1.0
Framework Version: 9.24.2
Release Notes: Update 9.24.2 to be compatible with Mx10.
Version: 1.0.0
Framework Version: 9.16.1
Release Notes: Parse to tree
Find with path