NARU API
    Preparing search index...

    Function serializeCanonicalJson

    • Serializes value as Python canonical JSON, handing bounded text chunks to emit so a real-large structure never exists as one string. Numbers are integers unless flagged in floats; typed arrays and other non-JSON values throw.

      Parameters

      • value: unknown
      • floats: FloatSourceTable | undefined
      • emit: (chunk: string) => void

      Returns void