Library API
    Preparing search index...

    Function rawJSON

    • Creates a raw JSON representation that is embedded verbatim (unquoted) during serialization. Leverages native JSON.rawJSON (ES2024 / Node 21+) when available, with a fallback for older environments.

      Parameters

      • text: string

        The raw JSON string

      Returns object

      The raw JSON object

      const raw = rawJSON('12345678901234567890');