mcpwn API
    Preparing search index...

    Function parsePath

    • Tokenize a path string into object-key / array-index segments. Throws on malformed syntax (unterminated "[", non-numeric index) so the caller's per-rule safety net logs it and forwards the message untampered.

      Parameters

      • path: string

      Returns Segment[]