private void serialize(AutoCSer.Json.Serializer serializer) { serializer.CharStream.Write('['); serializer.Serialize(ClientNodeId); serializer.CharStream.Write(','); Node.Serialize(serializer, Checker); serializer.CharStream.Write(']'); }
private static void serialize(AutoCSer.Json.Serializer serializer, ReturnValue value) { if (value == null) { serializer.CharStream.WriteJsonArray(); } else { CharStream jsonStream = serializer.CharStream; jsonStream.Write('['); serializer.Serialize(value.ClientNodeId); jsonStream.Write(','); value.serialize(serializer); jsonStream.Write(']'); } }
protected void serializeStart(AutoCSer.Json.Serializer serializer, ServerNodeIdChecker checker) { serializer.CharStream.Write('['); serializer.Serialize(checker.ServerNodeIds[GetType()]); }