Function iota_json::check_valid_homogeneous
source ยท pub fn check_valid_homogeneous(val: &Value) -> Result<(), IotaJsonValueError>
Expand description
Check via BFS The invariant is that all types at a given level must be the same or be empty, and all must be valid