Skip to content

Add a handful of utility methods for JSON and XML encoding#206

Merged
einarmo merged 1 commit intomasterfrom
encoding-utility-methods
Mar 5, 2026
Merged

Add a handful of utility methods for JSON and XML encoding#206
einarmo merged 1 commit intomasterfrom
encoding-utility-methods

Conversation

@einarmo
Copy link
Copy Markdown
Contributor

@einarmo einarmo commented Mar 4, 2026

This was requested at some point. It's a little clunky to encode an OPC-UA type to a string/bytes, or to decode them manually. This introduces a few methods in the xml and json modules to make it a little easier.

Also modifies the tests to use these new methods.

@einarmo einarmo force-pushed the encoding-utility-methods branch from c744aec to 66794ba Compare March 4, 2026 11:11
This was requested at some point. It's a little clunky to encode an
OPC-UA type to a string/bytes, or to decode them manually. This
introduces a few methods in the `xml` and `json` modules to make it a
little easier.
@einarmo einarmo force-pushed the encoding-utility-methods branch from 66794ba to 8d57eaa Compare March 5, 2026 14:04
@einarmo einarmo merged commit ca47aad into master Mar 5, 2026
6 checks passed
@einarmo einarmo deleted the encoding-utility-methods branch March 5, 2026 14:24
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