Structs

As specified in: https://docs.rs/grep-printer/0.1.1/grep_printer/struct.JSON.html#object-duration
As specified in: https://docs.rs/grep-printer/0.1.1/grep_printer/struct.JSON.html#object-stats
Almost as specified in: https://docs.rs/grep-printer/0.1.1/grep_printer/struct.JSON.html#object-submatch match is deserialized to matched because a rust reserves match as a keyword. start and end are also deserialized to range.

Enums

As specified in: https://docs.rs/grep-printer/0.1.1/grep_printer/struct.JSON.html#object-arbitrary-data
A parser for the output of grep_printer::JSON. Created to deserialize ripgrep --json output for rg_replace.