public class NpmAuditParser
extends java.lang.Object
| Constructor and Description |
|---|
NpmAuditParser() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Advisory> |
parse(org.json.JSONObject jsonResponse)
Parses the JSON response from the NPM Audit API.
|
public java.util.List<Advisory> parse(org.json.JSONObject jsonResponse) throws org.json.JSONException
jsonResponse - the JSON node to parseorg.json.JSONException - thrown if the JSON is not of the expected
schemaCopyright© 2012-21 Jeremy Long. All Rights Reserved.