from Json
Load RetrievedDocument from JSON string.
Return
The result of the CSAF parsing, wrapped in a ResultCompat monad.
Parameters
json
JSON String to parse.
url
URL where the document was originally located.
Load RetrievedDocument from JSON-yielding InputStream.
Return
The result of the CSAF parsing, wrapped in a ResultCompat monad.
Parameters
stream
InputStream yielding JSON to parse.
url
URL where the document was originally located.