Skip to main content

parse_app_ops_config

Function parse_app_ops_config 

Source
pub fn parse_app_ops_config(text: &str) -> Result<Value, i32>
Expand description

Parses an app-ops JSON configuration document.

§Parameters

§Returns

Returns the successful value produced by crate::binaries::parse_app_ops_config or an error when the operation fails.

§Errors

Returns an error value when crate::binaries::parse_app_ops_config cannot complete successfully.

§Performance

Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::binaries::parse_app_ops_config.

§Examples

ⓘ
let _result = pharos_native::binaries::parse_app_ops_config("{}");
  • crate::binaries for adjacent helpers that share the same runtime surface.