Skip to content

Feature Request: Support going from C# to JSON #4

Description

@d1820

Would be nice to have an all in one tool to go both directions with C#

` public class NotifyMessage
{
public string Subject { get; set; }

    public string Message { get; set; }

    public int DelaySeconds { get; set; } = 5;

    public string NotificationQueryValue { get; set; }

    public NotificationType NotificationType { get; set; }

    public DateTime NotifyDateTime { get; internal set; }

    public string RequestUserId { get; internal set; }
}

public enum NotificationType
{
    User,
    Group,
    OrganizationCode
}`

Output
{ "Subject": "Test", "Message": "New Message", "DelaySeconds": 10, "NotificationQueryValue": "{{userId}}", "NotificationType": 0 }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions