esql convert blob to json

JavaScript
 CREATE LASTCHILD OF OutputRoot DOMAIN('JSON') PARSE(InputRoot.BLOB.BLOB);  

Source

Also in JavaScript: