View Issue Details

IDProjectCategoryView StatusLast Update
001036410000-006: MappingsSpecpublic2025-06-06 13:24
ReporterThomas Merk Assigned ToRandy Armstrong  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionno change required 
Product Version1.05.04 
Summary0010364: JSON encoding of ExtensionObject chaged
Description

In 1.05.04 the encoding of extension object has been changed.
JSON fields
TypeId => UaTypeId
Encoding => UaEncoding
Body => UaBody

Was this intended?
Such a change is a breaking change

TagsNo tags attached.
Commit Version
Fix Due Date

Activities

Randy Armstrong

2025-06-05 12:56

administrator   ~0022965

See https://reference.opcfoundation.org/Core/Part6/v105/docs/5.4.1

The CompactEncoding and VerboseEncoding replace the ReversibleEncoding and NonReversibleEncoding. The differences are described in Annex H. The VerboseEncoding also supports the RawData mode defined in OPC 10000-14. In RawData mode, encoders shall omit the following fields:

https://reference.opcfoundation.org/Core/Part6/v105/docs/H

This version of the specification introduced significant optimizations to the JSON encoding, however, there are existing products that support the deprecated JSON encoding. This Annex summarizes the differences and explains how a product can be designed to seamlessly support the deprecated and current versions of the JSON encoding.

The ReversibleEncoding is largely the same as the CompactEncoding. The NonReversibleEncoding is largely the same as the to the VerboseEncoding. The differences are described in the rest of this Annex.

Any product that supports the OpenAPI mappings defined in G.3 only supports the CompactEncoding. The deprecated encodings published earlier versions of this specification are only used by older products implementing MQTT mapping for PubSub defined in OPC 10000-14.

The expectation is all encoders used for Publishers support all four encodings and all decoders for Subscribers support the ReversibleEncoding, CompactEncoding and VerboseEncodings.

Randy Armstrong

2025-06-05 13:00

administrator   ~0022966

Note: it was changed because we got feedback that IT vendors found the old encoding too hard too work with because of the way their systems worked.

We knew it would be a challenge and spent months discussing it in the WG.

Jim Luth

2025-06-06 13:24

administrator   ~0022982

Agreed to no change required in Virtual F2F.

Issue History

Date Modified Username Field Change
2025-06-05 10:09 Thomas Merk New Issue
2025-06-05 12:56 Randy Armstrong Assigned To => Randy Armstrong
2025-06-05 12:56 Randy Armstrong Status new => resolved
2025-06-05 12:56 Randy Armstrong Resolution open => no change required
2025-06-05 12:56 Randy Armstrong Note Added: 0022965
2025-06-05 13:00 Randy Armstrong Note Added: 0022966
2025-06-06 13:24 Jim Luth Status resolved => closed
2025-06-06 13:24 Jim Luth Note Added: 0022982