Skip to main content

has_to_json

Function has_to_json 

Source
pub fn has_to_json(tag: &str) -> bool
Expand description

Native instance tags whose instance_call implements toJSON(), which JSON.stringify must invoke before serializing the value. (instance_has_method only covers tags with a declared method table; Date dispatches directly.)