NAME

JSON::Formatter::Align - Formatting for JSON

SYNOPSIS

use JSON::Formatter::Align;

my $json = <<END;
{
    "glossary" : {
        "title" : "example glossary",
		"GlossDiv" : {
            "title" : "S",
			"GlossList" : {
                "GlossEntry" : {
                    "ID" : "SGML",
				    "SortAs" : "SGML",
				    "GlossTerm" : "Standard Generalized Markup Language",
				    "Acronym" : "SGML",
				    "Abbrev" : "ISO 8879:1986",
				    "GlossDef" : {
                        "para" : "A meta-markup language, used to create markup languages such as DocBook.",
					    "GlossSeeAlso" : ["GML", "XML"]
                	},
				    "GlossSee" : "markup"
               	}
            }
        }
    }
}
END

my $jsonFormatter = JSON::Formatter::Align->new();
print $jsonFormatter->json($json);

DESCRIPTION

Formatting for JSON. Look for the future versions of this package.

AUTHOR

Rajkumar Reddy

COPYRIGHT AND LICENSE

Copyright (C) 2022 by Rajkumar Reddy

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.30.0 or, at your option, any later version of Perl 5 you may have available.