reading parameters from json file
Hello!
I wanted to know if there is a way to read parameters for my ros node from a json file, just like reading from a yaml file?
Asked by Choco93 on 2020-01-21 08:20:45 UTC
Answers
Have you tried it? JSON can be considered to be a subset of YAML, so a YAML parser should be able to parse a JSON file.
Asked by gvdhoorn on 2020-01-21 09:30:54 UTC
Comments
I thought it might be somehow different to read json, but works just like yaml. Thanks
Asked by Choco93 on 2020-01-23 04:23:50 UTC
Comments