Skip to main content

parse_node_from_raw

Function parse_node_from_raw 

Source
pub fn parse_node_from_raw(item: &Value) -> Node
Expand description

Parses a single raw snippet JSON value into a Node.

This is a best-effort conversion that preserves unknown snippet types as Node::Unknown. It is intended for tooling that operates on raw JSON without loading a full page.