oRPC Bracket Notation

Installation
SKILL.md

Bracket Notation

Bracket Notation encodes structured data in formats with limited syntax, like URL queries and form data. It is used by OpenAPIHandler and OpenAPILink.

Usage

  1. Same name (>=2 elements) are represented as an array.

    color=red&color=blue → { color: ["red", "blue"] }
    
  2. Append [] at the end to denote an array.

    color[]=red&color[]=blue → { color: ["red", "blue"] }
    
  3. Append [number] to specify an array index (missing indexes create sparse arrays).

Related skills
Installs
First Seen