@jenova-marie/wonder-logger - v2.0.15
    Preparing search index...

    Function extractJSON

    • Extract JSON from text that may contain additional content Handles common patterns:

      • "Here is the JSON: {...}"
      • "json\n{...}\n"
      • "{...}\n\nLet me explain..."
      • Pure JSON

      Parameters

      • text: string

      Returns string