private static void enumToString(Serializer jsonSerializer, valueType value) { jsonSerializer.EnumToString(value); }