Skip to main content

parse_world_jsonl

Function parse_world_jsonl 

Source
pub fn parse_world_jsonl(content: &str) -> Result<Vec<Value>, Error>
Expand description

Parse a world.jsonl string into a flat list of raw asset objects.

Each non-blank, non-comment line must be a valid JSON object. The order of entries is preserved. Returns an error on the first malformed line.