properties2json¶
NAME¶
properties2json — Convert a Java .properties
file to JSON
SYNOPSIS¶
properties2json [<OPTIONS>] [<infile> [<outfile>]]
Note
If the javaproperties
package was installed but the
properties2json script is not present, this command can still be
run by replacing properties2json
with python -m
javaproperties.tojson
on the command line.
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.