alef-backend-csharp 0.17.0

C# (P/Invoke) backend for alef
Documentation
// This file is auto-generated by alef. DO NOT EDIT.
#nullable enable

using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text.Json;
using System.Text.Json.Serialization;
{%- if has_async %}
using System.Threading.Tasks;
{%- endif %}

namespace {{ namespace }};

public static class {{ class_name }}
{
    private static readonly JsonSerializerOptions JsonOptions = new()
    {
        Converters = { new JsonStringEnumConverter(JsonNamingPolicy.SnakeCaseLower) },
        DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull
    };