pub fn generated_surface_default_candidate_json(
state_path: &Path,
surface_json: &str,
context_json: &str,
existing_json: Option<&str>,
submitted_json: Option<&str>,
) -> Option<String>Expand description
Builds a default generated-surface candidate from existing, declared, and submitted values.
§Parameters
state_path: Input consumed bycrate::runtime::json_commands::generated_surface_default_candidate_json.surface_json: Input consumed bycrate::runtime::json_commands::generated_surface_default_candidate_json.context_json: Input consumed bycrate::runtime::json_commands::generated_surface_default_candidate_json.existing_json: Input consumed bycrate::runtime::json_commands::generated_surface_default_candidate_json.submitted_json: Input consumed bycrate::runtime::json_commands::generated_surface_default_candidate_json.
§Returns
Returns Some when crate::runtime::json_commands::generated_surface_default_candidate_json can produce a value and None otherwise.
§Performance
Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::runtime::json_commands::generated_surface_default_candidate_json.
§Examples
ⓘ
let _result = pharos_native::runtime::json_commands::generated_surface_default_candidate_json(todo!(), "{}", todo!(), todo!(), todo!());§Related
crate::runtime::json_commandsfor adjacent helpers that share the same runtime surface.