pub fn get_data_source(config_json: &str, code: &str) -> Result<Value>Expand description
Get a specific data source by code
§Arguments
config_json- JSON configuration stringcode- Data source code to retrieve
§Returns
JSON Value representing the data source
§Errors
NotFoundif data source doesn’t existJsonParseif config_json is invalidMissingSectionif CFG_DSRC section doesn’t exist