Function stringifyBase64Json

Converts a JavaScript object to a base64 encoded JSON string.

  • Type Parameters

    • T = Record<string, any>

      The type of the state object being serialized.

    Parameters

    • state: T

      The state object to be serialized.

    Returns string

    • The base64 encoded JSON string representation of the state object.