JSONRenameExpr ::= "rename" "json" PrimaryExpr ( "(" ExprSingle ")" )+ "as" ExprSingle
rename json $o($s) as $n
jerr:JNUP0008
is raised. After this evaluation, the last "(" ExprSingle ")" is interpreted as follows:
jerr:JNUP0007
is raised upon failure).
jupd:rename-in-object($o, $s, $n)
. An error JNUP:0016
is raised if $o does not contain a pair with the key $s.
rename json $o("foo") as "bar"