Search the Community
Showing results for tags 'json api'.
-
Hello, I m having difficulties with Lava JSON API lib. I'm not good at Labview but if you can help me. I don't see a documentation or a small exemple. My REST API return me this kind of string : [ { "id": "Cartographie", "records": [ "20190801-162634" ], "name": "Cartographie", "description": "", "lft": 1, "rght": 2, "tree_id": 3, "level": 0, "parent": null }, { "id": "Cyclage endurance", "records": [ "20190909-140001", "20190703-100000", "20190603-110704" ], "name": "Cyclage endurance", "description": "Some descriptions", "lft": 1, "rght": 2, "tree_id": 4, "level": 0, "parent": null } ] I need to make an array of ids or names. How would you do that easily ?
-
This is my first post but I have been browsing LAVA for years! I couldn't figure out how to post this within the repository forums so I decided to throw it up here. I am using the JSON LabVIEW 1.1 API in a large project and just came across an issue. The attached VI shows the problem but what it boils down to is that doubles get truncated to 6 decimal places. It is being truncated because of the Format Into String function's "format string". Was this done on purpose? I know how to make the change that I am looking for but I would like to see it get worked into the package's source. Thanks, -Pat Build Basic JSON.vi