Skip to main content

transparent_array_section_paths

Function transparent_array_section_paths 

Source
pub fn transparent_array_section_paths<S>(
    full_schema: &Value,
) -> Vec<Vec<&'static str>>
where S: ConfigSchema,
Expand description

Finds nested sections whose field schema opts into transparent array serialization.

§Type Parameters

  • S: Config schema type whose metadata supplies nested section paths.

§Arguments

  • full_schema: Full root schema containing x-tree-transparent-array markers.

§Returns

Returns nested section paths that serialize as transparent arrays.