Skip to main content

seeded

Function seeded 

Source
pub fn seeded(payload: &JsonValue) -> JsonValue
Expand description

Inject a random seed into payload when it is a JSON object (or null, treated as empty) that carries no non-null seed. Anything else, and any object that already pins a seed, is returned unchanged.