Function field_of
fn field_of(line: &str, field: &str) -> Option<String>Expand description
The value of a top-level JSON field, as written.
A deliberate substring read rather than a JSON parse: the page quotes the file’s bytes, so what matters is what the bytes say, and pulling in a JSON parser to read two fields would let the generator disagree with the file it publishes.