DATA-VIEWER(1p) | User Contributed Perl Documentation | DATA-VIEWER(1p) |
data_viewer - Open a data viewer widget for you JSON or YAML data
# view json file data_viewer file.json # viewn yaml file data_viewer file.yml # pipe json data data_viewer -json < file.json # pipe yaml data data_viewer -yaml < file.yml
This command opens a Tk::ObjScanner widget for the data stored in YAML or JSON file.
This command can be applied on a file passed as argument or data can be piped to "data_viewer". Yaml file suffix can be "yaml" or "yml".
Parse the data as JSON.
Parse the data as YAML.
Tk::ObjScanner
Hey! The above document had some coding errors, which are explained below:
2023-10-27 | perl v5.36.0 |