DATA-VIEWER(1p)
π data_viewer β the manual, but make it cute π
okay bestie, so this is DATA-VIEWER(1p) from the Perl world, and it's literally just a lil command that pops open a whole widget for your JSON or YAML data. she's giving "I don't do cat and squint, I do β¨visualizeβ¨". no cap. π¦
πΈ NAME πΈ
data_viewer β opens a data viewer widget for your JSON or YAML data π
β¨ 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
(yes the comment says viewn and yes we are keeping it exactly as-is, that's her little typo and it's iconic, we respect it π)
π DESCRIPTION π
this command opens a Tk::ObjScanner widget for the data stored in a YAML or JSON file. main character behavior honestly.
and the way you can use it is lowkey flexible: you can hand it a file as an argument, or you can pipe the data straight into data_viewer. either one, she's ready. π«Ά
quick note for the girlies: the YAML file suffix can be yaml or yml. both slay, both work.
π OPTIONS π
-jsonβ parse the data as JSON. that's the whole vibe. β¨-yamlβ parse the data as YAML. equally valid, equally gorgeous. π
π BUGS π
okay so, full transparency, here's what's a lil broken, no gatekeeping:
- YAML anchor and aliases are ignored. so the data is seen as duplicated in the widget. like, it's all there, but it's giving twins where there should be one girlie. π
- JSON objects are showed as
"HASH", which is Perl terminology. not a JSON thing, not a YAML thing, just Perl being Perl. π
π«Ά SEE ALSO π«Ά
Tk::ObjScanner
π§ POD ERRORS π§
hey! the above document had some coding errors, which are explained below:
around line 120:
=cut found outside a pod block. Skipping to next block.
(not me snitching on the doc's own formatting, but the manpage said it so we say it π )
and that's the whole page, bestie!! perl v5.36.0, dated 2023-10-27, DATA-VIEWER(1p) β go open a viewer and look at your data in style. obsessed with her fr fr. πβ¨ππ¦πΈπ
π¦ where this page comes from
- debian trixie: libtk-objscanner-perl 2.018-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libtk-objscanner-perl 2.018-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libtk-objscanner-perl 2.018-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libtk-objscanner-perl 2.018-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms