Serialize a JSON-RPC response to a newline-terminated string.
Uses String.fromCharCode(10) instead of '\n' so that inlined
(minified) versions of this code remain safe in single-quoted strings
(the AWF YAML serializer rejects bare newlines in entrypointArgs).
Serialize a JSON-RPC response to a newline-terminated string.
Uses
String.fromCharCode(10)instead of'\n'so that inlined (minified) versions of this code remain safe in single-quoted strings (the AWF YAML serializer rejects bare newlines in entrypointArgs).