perl-JSON-Color - Encode to colored JSON
This module generates JSON, colorized with ANSI escape sequences.
To change the color, see the '%theme' in the source code. In theory you can also modify it to colorize using HTML.
- Sources inherited from project devel:languages:perl
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:Tomcat42/perl-JSON-Color && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
JSON-Color-0.133.tar.gz | 0000019609 19.1 KB | |
cpanspec.yml | 0000000669 669 Bytes | |
perl-JSON-Color.changes | 0000001842 1.8 KB | |
perl-JSON-Color.spec | 0000002552 2.49 KB |
Revision 4 (latest revision is 6)
Dirk Stoecker (dstoecker)
accepted
request 935398
from
Tina Müller (tinita)
(revision 4)
- updated to 0.133 see /usr/share/doc/packages/perl-JSON-Color/Changes 0.133 2021-11-24 Released-By: PERLANCAR; Urgency: medium - [bugfix] Previous commit to work better with ColorTheme::NoColor was incomplete. Apply patch from Kevin Van Workum (RT#140117). - Observe NO_COLOR. - [test] Add test script. 0.132 2021-11-23 Released-By: PERLANCAR; Urgency: medium - Work better when using ColorTheme::NoColor (don't emit ANSI reset because there's no ANSI color set, avoid perl undef warning) (RT#140117, reported by Kevin Van Workum). - Observe object's TO_JSON() (thanks Kevin Van Workum, RT #140118). - Rename color theme modules to be more compliant with ColorTheme v2 (all modules are named under ColorTheme:: namespace). But allow searching using ColorTheme:: as well as ColorTheme::JSON::Color:: prefixes.
Comments 0