Nutrient Web SDK

ReferenceNutrientViewerFormFieldsfromSerializableObject

Function fromSerializableObject

FormField deserializer. Converts a form field InstantJSON object to a NutrientViewer.FormFields.FormField.

Function
Type Signature
fromSerializableObject(
    id: string,
    payload: FormFieldJSON,
    options?: { … },
): NutrientViewer.FormFields.FormField
  • Type Declaration

    Parameters

    idstring

    The ID of the form field.

    The serialized form field.

    options
    { … }
    Optional

    The options for the form field.

    Returns

    The deserialized form field.