pub fn annotations_to_value(annotations: Option<&ModuleAnnotations>) -> ValueExpand description
Convert annotations to a JSON Value, handling both present and absent forms.
Returns Value::Null if annotations is None or serialization fails.
pub fn annotations_to_value(annotations: Option<&ModuleAnnotations>) -> ValueConvert annotations to a JSON Value, handling both present and absent forms.
Returns Value::Null if annotations is None or serialization fails.