logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

data_viewer - Open a data viewer widget for you JSON or YAML data

Bugs

       •   YAML anchor and aliases are ignored. Data is seen as duplicated in the widget.

       •   JSON object are showed as "HASH", which is Perl terminology.

Description

       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".

Name

       data_viewer - Open a data viewer widget for you JSON or YAML data

Options

-json
       Parse the data as JSON.

   -yaml
       Parse the data as YAML.

Pod Errors

       Hey! Theabovedocumenthadsomecodingerrors,whichareexplainedbelow:

       Around line 120:
           =cut found outside a pod block.  Skipping to next block.

perl v5.36.0                                       2023-10-27                                    DATA-VIEWER(1p)

See Also

       Tk::ObjScanner

Synopsis

         # 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

See Also