@main[] Update current: ^action{ $hash.a[-] } Insert: ^action{ $hash.d[4] } Delete current: ^action{ ^hash.delete[a] } Delete before current: ^action{ ^if($key eq 'b'){ delete: ^hash.delete[a] } } Delete after current: ^action{ ^hash.delete[b] } @action[code] $hash[ $.a[1] $.b[2] $.c[3] ] ^hash.foreach[key;value]{ $code $key -> $value } ^json:string[$hash; $.indent(true) ]