mirror of
https://github.com/adnanh/webhook.git
synced 2026-07-26 08:39:17 +08:00
0e90ccb441
Detect if leading character in JSON payload is an array bracket. If
found, decode payload into an interface{} and then save the results into
payload["root"]. References to payload values would need to reference
the leading, "virtual" root node (i.e. "root.0.name").
Fixes #215