Skip to main content

complete_to_json

Function complete_to_json 

Source
pub fn complete_to_json(
    source: &str,
    offset: usize,
    platform: Platform,
) -> String
Expand description

Complete to a JSON string — { items: [{ label, kind, detail, insert_text }] }.