Skip to main content

parse_search_json

Function parse_search_json 

Source
pub fn parse_search_json(payload: &str) -> Result<Vec<SubjectRecord>>
Expand description

Parse a GitHub search response body into subjects (used by tests and available to callers who capture raw payloads).

ยงErrors

Fails when the payload is not a GitHub search response.