The type of the values produced; parsed documents are emitted as is and are not validated against it; defaults to a JSON Object
A task converting a feed of JSON documents, given as text or as responses, into a feed of values
Error While the feed is consumed, if the source feed fails or a response body can't be read
Creates a JSON parser.
The task converts a feed of JSON documents into a feed of values, one value per document, so that downstream tasks work on structured data rather than on text.
Each document is given either as text or as a response carrying it in its body. Empty or whitespace-only documents produce no value, and neither do responses without a body.
Response bodies are always decoded as UTF-8, the only encoding JSON is exchanged in. Invalid UTF-8 bytes are read as replacement characters.
A response is logged as a warning, and parsed anyway, if its content type is not a JSON one or its charset is not UTF-8. JSON content types are
application/jsonand+jsonformats such asapplication/ld+json.Malformed documents are skipped and logged as warnings, and the feed runs to completion.