Skip to main content

Module json

Module json 

Source

Functions§

collect_paths_at_level
Collect dot-notation key paths of all nodes exactly at level depth. Nodes in branches that don’t reach level are omitted.
get_encrypted_keys
Return the dot-notation paths of all vault-encrypted values in a JSON file.
process_file
Read a JSON file, apply processor to every matching scalar value, and write the result. filter_keys is a list of dot-notation key paths to restrict processing to; empty means all values. Key insertion order is preserved via serde_json’s preserve_order feature.
process_in_memory
Read a JSON file, apply processor to every matching scalar value, and return the result in memory. filter_keys is a list of dot-notation key paths to restrict processing to; empty means all values.