IGPAPI
    Preparing search index...

    Function splitJsonDocuments

    • Split a body into its consecutive top-level JSON documents, preserving each document's exact text. Throws on a malformed tail so the caller reports a ParseError rather than silently dropping data.

      Parameters

      • text: string

      Returns readonly string[]