/// Print a Serialize value as pretty JSON, logging errors to stderr.
pubfnprint_json(value:&(implserde::Serialize + ?Sized)){matchserde_json::to_string_pretty(value){Ok(json)=>println!("{json}"),Err(e)=>eprintln!("[tokf] JSON serialization error: {e}"),}}