Package com.mdfromhtml.utility
Class JSONFormat
- java.lang.Object
-
- com.mdfromhtml.utility.JSONFormat
-
public class JSONFormat extends Object
Utility to format JSON files by reading and serializing them. Keys will be sorted, and control characters or unicode will be escaped.
-
-
Constructor Summary
Constructors Constructor Description JSONFormat()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(String[] args)Utility to format a single file or a directory of files matching a specified file extension (without the leading period).
-
-
-
Method Detail
-
main
public static void main(String[] args)
Utility to format a single file or a directory of files matching a specified file extension (without the leading period).- Parameters:
args- Either the qualified file name of the file to be reformatted, or both the qualified directory name and the extension of files therein to be formatted (without the leading period).
-
-