Skip to main content

own_enum_entries_deep

Function own_enum_entries_deep 

Source
pub fn own_enum_entries_deep(v: &Value) -> Result<Vec<(String, Value)>, String>
Expand description

The own enumerable (key, value) pairs of v with every enumerable own accessor’s getter invoked — the observable shape Object.values, Object.entries, object spread and JSON.stringify all need. Must be called outside a with_host borrow because a getter re-enters the host.