Skip to content

parse "true" and "false" for Int/UInt records#10

Merged
AndreFavotto merged 1 commit intoepics-modules:mainfrom
essioc:feat-parse-true-false
Mar 23, 2026
Merged

parse "true" and "false" for Int/UInt records#10
AndreFavotto merged 1 commit intoepics-modules:mainfrom
essioc:feat-parse-true-false

Conversation

@essioc
Copy link
Copy Markdown
Contributor

@essioc essioc commented Mar 19, 2026

I wanted to have this feature added, to reduce extra step needed in database record to parse true/false.

This will reduce work on EPICS side to parse true/false text replies.
No other falsy and truthy variants are handled, because they are not specified in the informative JSON document.

See also: https://datatracker.ietf.org/doc/html/rfc4627#section-2.1

This will reduce work on EPICS side to parse true/false text replies.
No other falsy and truthy variants are handled. See also:
https://datatracker.ietf.org/doc/html/rfc4627#section-2.1
@essioc essioc marked this pull request as draft March 19, 2026 13:19
@essioc essioc marked this pull request as ready for review March 20, 2026 08:29
Copy link
Copy Markdown
Collaborator

@AndreFavotto AndreFavotto left a comment

Choose a reason for hiding this comment

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

Good addition, thanks!

@AndreFavotto AndreFavotto merged commit 278a6a4 into epics-modules:main Mar 23, 2026
4 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.

2 participants