Class MixAuditJsonParser
java.lang.Object
org.owasp.dependencycheck.data.elixir.MixAuditJsonParser
Parses json output from `mix_audit --format json`.
- Author:
- Christoph Sassenberg
-
Constructor Summary
ConstructorsConstructorDescriptionMixAuditJsonParser(Reader reader) Creates a MixAuditJsonParser from a Reader. -
Method Summary
Modifier and TypeMethodDescriptionGets the list of results.voidprocess()Process the input stream to create the list of dependencies.
-
Constructor Details
-
MixAuditJsonParser
Creates a MixAuditJsonParser from a Reader.- Parameters:
reader- - the java.io.Reader to read the json character stream from
-
-
Method Details
-
process
Process the input stream to create the list of dependencies.- Throws:
AnalysisException- thrown when there is an error parsing the results of `mix_audit --format json`
-
getResults
-