drupflare/worker - v1.0.4
    Preparing search index...

    Function parseJsonReply

    • The JSON object a PHP fragment printed after any notices. A deprecation such as {closure} or a log line such as %date{M j} carries a brace, so each { that could open an object is tried in turn until the rest parses; one that cannot ({ then a letter) is skipped without counting.

      Parameters

      • raw: string

      Returns Record<string, unknown>