Options
All
  • Public
  • Public/Protected
  • All
Menu

Module utils/SerializationValidator

Functions

validateSerializedState

  • Validates that the serialized state will survive the round-trip successfully.

    If round-trip fails, diagnostic information is printed to the console.

    throws

    Error if round-trip fails.

    Parameters

    • serializedState: string

      Serialized state (a string in JSON format)

    • controlManager: IControlManager

      Control manager

    • input: IControlInput

      Input

    Returns void