// Writer public static void JsonSerializer(Jboy.JsonWriter writer, object instance) { writer.TryWritePropertyName("serverType"); writer.WriteString(((ServerType)instance).ToString()); }