Interface ISchemaApi
Parse a form's schema JSON into typed field metadata (pure, no I/O).
public interface ISchemaApi
Methods
Parse(string)
Parse a form's SchemaJson into typed FormSchemaInfo. Never throws on malformed JSON — returns an empty schema (mirrors the server's fail-soft schema resolver). Row layout is flattened so the field list matches what the server validates.
FormSchemaInfo Parse(string schemaJson)
Parameters
schemaJsonstring
Returns
ParseForm(FormDto)
Convenience overload: parse form.SchemaJson. Throws ArgumentNullException when form is null.
FormSchemaInfo ParseForm(FormDto form)
Parameters
formFormDto