Click or drag to resize
IFormBuilderConfigurationSerializerSerialize Method
Serializes Form builder configuration to JSON.

Namespace: Kentico.Forms.Web.Mvc.Internal
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 12.0.0
Syntax
C#
string Serialize(
	FormBuilderConfiguration formBuilderConfiguration,
	bool clearFormComponents = false
)

Parameters

formBuilderConfiguration
Type: Kentico.Forms.Web.MvcFormBuilderConfiguration
Configuration to be serialized to JSON.
clearFormComponents (Optional)
Type: SystemBoolean
If true serialized 'formComponent' tokens will contain only 'identifier' property

Return Value

Type: String
Returns serialized configuration.
See Also