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
-
Same name (>=2 elements) are represented as an array.
color=red&color=blue → { color: ["red", "blue"] } -
Append
[]at the end to denote an array.color[]=red&color[]=blue → { color: ["red", "blue"] } -
Append
[number]to specify an array index (missing indexes create sparse arrays).