Kizuki
    Preparing search index...

    Function parseJsonReply

    • Reads a JSON reply that may be wrapped in a code fence or extra words, and checks its shape.

      Type Parameters

      • T

      Parameters

      • text: string
      • schema: ZodType<T>

      Returns T