diff src/goodjava/rpc/RpcCon.java @ 1419:59fd2e8b1b9d

stringify and json_string
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 25 Oct 2019 22:12:06 -0600
parents 27efb1fcbcb5
children aaac1d29edea
line wrap: on
line diff
--- a/src/goodjava/rpc/RpcCon.java	Fri Oct 18 22:29:46 2019 -0600
+++ b/src/goodjava/rpc/RpcCon.java	Fri Oct 25 22:12:06 2019 -0600
@@ -52,7 +52,7 @@
 	{
 		if( in != null )
 			list.add(0,lenIn);
-		String json = JsonToString.toString(list);
+		String json = new JsonToString().toString(list);
 		byte[] aJson = json.getBytes(StandardCharsets.UTF_8);
 		int len = aJson.length;
 		byte[] a = new byte[4+len];