Multi-document YAML to array yq

Split a multi-document YAML into a JSON array

yq -s '.' multi.yaml | yq -o=json
#yq