8000 Update JSON encoding for latest OPC UA 1.05 Part 6 draft by kevinherron · Pull Request #1398 · eclipse-milo/milo · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Update JSON encoding for latest OPC UA 1.05 Part 6 draft #1398

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

Merged
merged 18 commits into from
Mar 31, 2025

Conversation

kevinherron
Copy link
Contributor
@kevinherron kevinherron commented Mar 29, 2025

The JSON encoding defined in part 6 has been modified after feedback from SDK vendors since OpcUaJsonEncoder and OpcUaJsonDecoder were implemented.

Instead of "reversible" and "non-reversible" encodings there is now "verbose" and "compact". Where applicable, the "verbose" encoding eschews numeric references for which the receiving application might not have context and includes symbolic names and URIs when possible.

The types for which the encoding has changed include:

  • NodeId
  • ExpandedNodeId
  • QualifiedName
  • StatusCode
  • Matrix (multi-dimension array)
  • LocalizedText (always encoded as JSON object)
  • ExtensionObject (always encoded as JSON object)
  • Variant (always "verbose")

@kevinherron kevinherron marked this pull request as draft March 29, 2025 23:15
@kevinherron kevinherron force-pushed the tasks/json-encoding-updates branch from 1f0415e to ec577b3 Compare March 30, 2025 17:47
@kevinherron kevinherron marked this pull request as ready for review March 31, 2025 22:58
@kevinherron kevinherron merged commit 33f8976 into dev/1.0 Mar 31, 2025
3 checks passed
@kevinherron kevinherron deleted the tasks/json-encoding-updates branch April 14, 2025 16:32
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.

1 participant
0