Skip to main content

get_feature

Function get_feature 

Source
pub fn get_feature(config_json: &str, feature_code_or_id: &str) -> Result<Value>
Expand description

Get a specific feature by code or ID

§Arguments

  • config_json - JSON configuration string
  • feature_code_or_id - Feature code or numeric ID

§Returns

JSON Value representing the complete feature with elementList