Parse JSON in Native app using Nanoflow or JS action
0
I have a Native app that communicates with a BLE device. Communication is done using JSON structures. So, on receiving a JSON structure from the device, I need to parse it in and store in local database. In the Native app, JSON mappings do not work in nanoflows. They only work in a microflow. I am able to pass the JSON string from JS action where it is received to a nanoflow. Here I want to parse it but I don’t have the mapping option available. Should I do the parsing inside JS action using JavaScript code? Or any other suggestion/solution for this problem?
asked
Umar Shabbir
1 answers
1
Try the ImportJSON action in the NativeREST module: