Skip to content

How to add enums to custom types json #308

Answered by arjanz
Gauthamastro asked this question in Q&A
Discussion options

You must be logged in to vote

That would be something like:

{
  "types": {
    "Color": {
      "type": "enum",
      "value_list": [
        "Red",
        "Blue",
        "Green"
      ]
    }
  }
}

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by arjanz
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #65 on January 03, 2023 15:15.