Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should ksdump match ide 'export to json'? #64

Open
Thell opened this issue Oct 10, 2024 · 0 comments
Open

Should ksdump match ide 'export to json'? #64

Thell opened this issue Oct 10, 2024 · 0 comments

Comments

@Thell
Copy link

Thell commented Oct 10, 2024

Enum values are dumped as strings prefixed with the enum id when using ksdump and they are dumped with both name and value when using the ide.

ide:

      "allowableWorkerTypes": [
        { "name": "GOBLIN", "value": 0 }, { "name": "HUMAN", "value": 1 }, { "name": "GIANT", "value": 2 }, { "name": "PAPU", "value": 3 }, { "name": "FADUS", "value": 4 }, { "name": "DWARF", "value": 5 }
      ]

ksdump:

      "allowable_worker_types": [
        "worker_type_goblin",
        "worker_type_human",
        "worker_type_giant",
        "worker_type_papu",
        "worker_type_fadus",
        "worker_type_dwarf"
      ],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant