Package se.kth.depclean.util.json
Class ParsedDependencies
java.lang.Object
se.kth.depclean.util.json.ParsedDependencies
Uses the DepClean analysis results and the dependency tree of the project to produce a JSON file. This file represent
the structure of the dependency tree enriched with metadata of the usage or not of each dependency.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates string with the JSON representation of the enriched dependency tree of the Maven project.
-
Constructor Details
-
ParsedDependencies
public ParsedDependencies()
-
-
Method Details
-
parseTreeToJson
public String parseTreeToJson() throws fr.dutra.tools.maven.deptree.core.ParseException, IOExceptionCreates string with the JSON representation of the enriched dependency tree of the Maven project.- Returns:
- The JSON representation of the dependency tree of the project with additional metadata of the used/unused dependencies.
- Throws:
fr.dutra.tools.maven.deptree.core.ParseException- if there are parsing errors.IOException- if the JSON file cannot be written.
-