Skip to main content

extract

Function extract 

Source
pub fn extract(html: &str) -> String
Expand description

Extracts structured data from HTML and returns it as a JSON string.

The returned JSON contains an array of SchemaNode objects with their types, properties, source format, and source location.

ยงReturns

JSON string: { "nodes": [...], "warnings": [...] } on success, or { "error": "..." } on failure.