json-ld / yaml-ld

CG specification for YAML-LD and UCR
https://json-ld.github.io/yaml-ld/spec
Other
19 stars 8 forks source link

Consider `extractAllScripts` flag in `expand()` API as a method to handle YAML-LD Streams #119

Closed anatoly-scherbakov closed 3 months ago

anatoly-scherbakov commented 10 months ago

Initially, this flag allows the extraction of multiple JSON-LD documents from an HTML document. Can it also be used for extracting individual entries from a YAML stream?

gkellogg commented 10 months ago

Yes, I think that’s reasonable. The result would be much like that for embedded JSON-LD in HTML, with the results effectively merged together.

anatoly-scherbakov commented 3 months ago

I think that's done.