Skip to main content

parse_json_path

Function parse_json_path 

Source
pub fn parse_json_path(path: &str) -> Result<Vec<String>, String>
Expand description

Parses a $.-prefixed JSON path into a Vec<String> of key segments.

"$.data.access_token"["data", "access_token"]. Only object key traversal is supported (no array indexing).