Skip to content

Conversation

@blowekamp
Copy link
Member

@blowekamp blowekamp commented May 30, 2025

Convert data representation from string or integers to boolean value types in JSON.

Change no_procedure to be set as a boolean not a number.
@blowekamp blowekamp changed the title Fix JSON to use 1 as a number an not a string Use boolean types for boolean attributes in JSON Jun 2, 2025
@blowekamp blowekamp marked this pull request as ready for review June 2, 2025 12:41
@blowekamp blowekamp requested review from dave3d and zivy June 2, 2025 12:41
Copy link
Member

@zivy zivy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

There were some places where "1" was converted to 1 and some to "true". Initially thought that was an error, but second look at the variables realized that these are correct conversions. In some cases the string represented the number and in some the boolean value.
Nicely done.

@blowekamp blowekamp merged commit e5d180a into SimpleITK:master Jun 2, 2025
8 checks passed
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

Successfully merging this pull request may close these issues.

3 participants