extract_item_list_per_epoch

Function extract_item_list_per_epoch 

Source
pub fn extract_item_list_per_epoch(
    source: &str,
    json_pointer_for_epoch: &str,
) -> BTreeMap<u64, String>
Expand description

Takes a JSON string containing a list of items and extracts them into a map keyed by epoch.

Each item in the list must contain an epoch value at the specified JSON pointer location.