Class GoModJsonParser
java.lang.Object
org.owasp.dependencycheck.data.golang.GoModJsonParser
Parses json output from `go list -json -m all`.
- Author:
- Matthijs van den Bos
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<GoModDependency> process(InputStream inputStream) Process the input stream to create the list of dependencies.
-
Method Details
-
process
Process the input stream to create the list of dependencies.- Parameters:
inputStream- the InputStream to parse- Returns:
- the list of dependencies
- Throws:
AnalysisException- thrown when there is an error parsing the results of `go mod`
-