Code::TidyAll::Plugin::JSON - Use the JSON::MaybeXS module to tidy JSON documents with tidyall
Contents
Configuration
This plugin accepts the following configuration options:
ascii
Escape non-ASCII characters. The output file will be valid ASCII.
Copyright And License
This software is copyright (c) 2011 - 2023 by Jonathan Swartz.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5
programming language system itself.
The full text of the license can be found in the LICENSE file included with this distribution.
perl v5.40.1 2025-04-03 Code::TidyAll::Plugin::JSON(3pm)
Description
Uses JSON::MaybeXS to format JSON files. Files are put into a canonical format with the keys of objects
sorted.
Name
Code::TidyAll::Plugin::JSON - Use the JSON::MaybeXS module to tidy JSON documents with tidyall
Source
The source code repository for Code-TidyAll can be found at
<https://github.com/houseabsolute/perl-code-tidyall>.
Support
Bugs may be submitted at <https://github.com/houseabsolute/perl-code-tidyall/issues>.
Synopsis
In configuration:
[JSON]
select = **/*.json
ascii = 1
Version
version 0.84
