Akorede David Posted March 19, 2019 Report Share Posted March 19, 2019 Hello, I am a newbie in the group. I attached below samples of a yaml file and a VI. I want to converts a yaml file to a json file and finally put it in a cluster in Labview. I was able to convert the yaml file to Json but unfortunately my Json find operator is not converting the json file to a cluster. Any help with where the error is coming from? ParsingYAML.vi YAML_Config.yml Quote Link to comment
drjdpowell Posted March 19, 2019 Report Share Posted March 19, 2019 What JSON file are you using? You've just given me a VI that expects JSON, and a YAML file. I note that your YAML contains no arrays, yet your JSONpaths treat "Configuration" as an array. Quote Link to comment
Akorede David Posted March 21, 2019 Author Report Share Posted March 21, 2019 The idea is to convert the Yaml file to a JSON file and then find the text in the resulting JSON file. I have fixed the bug though. Your comment was helpful. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.