properties2json

NAME

properties2json — Convert a Java .properties file to JSON

SYNOPSIS

properties2json [<OPTIONS>] [<infile> [<outfile>]]

DESCRIPTION

Convert a .properties file infile to a JSON object and write the results to outfile. If not specified, infile and outfile default to sys.stdin and sys.stdout, respectively.

OPTIONS

-E <encoding>, --encoding <encoding>

Specifies the encoding of the input file; default value: iso-8859-1 (a.k.a. Latin-1)