Skip to main content

extract_field_descriptors

Function extract_field_descriptors 

Source
pub fn extract_field_descriptors(schema: &Value) -> Vec<CustomFieldDescriptor>
Expand description

Extract field descriptors from a JSON Schema for template rendering.

Properties are iterated in insertion order (requires preserve_order feature on serde_json).