Skip to main content

parse_settings

Function parse_settings 

Source
pub fn parse_settings(value: &Value) -> Settings
Expand description

Try to parse Settings from a serde_json::Value.

Handles both direct settings objects and the wrapped form where the editor nests under "solidity-language-server":

{ "solidity-language-server": { "inlayHints": { ... } } }