View Issue Details

IDProjectCategoryView StatusLast Update
000904110000-006: MappingsSpecpublic2024-05-26 08:59
ReporterPeter Wehrfritz Assigned ToRandy Armstrong  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Fixed in Version1.05.04 RC1 
Summary0009041: (Reversible) JSON encoding of variants with default values
Description

In the case of reversible JSON encoding, the encoder shall omit fields of structures that are null or have the default value. For the variant "Body" field no special rule is defined. Does that mean the "Body" property should be present even if it has the default value? Would a variant of 0u be

"Field":{"Type":7,"Body":0}

Or

"Field":{"Type":7} ?

TagsJSON, Part 6
Commit Version1.05.04 RC
Fix Due Date2023-11-01

Activities

Randy Armstrong

2023-10-17 06:46

administrator   ~0020196

Added to 5.4.2.17 Variant
If the Body is empty then the Body field is omitted.

Randy Armstrong

2024-05-21 15:42

administrator   ~0021220

The field is not encoded if the value is a NULL for nullable Built-in types (see Table 1).

Jim Luth

2024-05-21 15:43

administrator   ~0021221

The field is not encoded if NULL for Nullable built-in types.

Jim Luth

2024-05-21 15:43

administrator   ~0021222

Agreed to changes in Web Meeting.

Issue History

Date Modified Username Field Change
2023-07-05 11:36 Peter Wehrfritz New Issue
2023-07-05 11:36 Peter Wehrfritz Tag Attached: JSON
2023-07-05 11:36 Peter Wehrfritz Tag Attached: Part 6
2023-07-25 15:37 Jim Luth Project UA Specification => 10000-006: Mappings
2023-07-25 15:38 Jim Luth Assigned To => Randy Armstrong
2023-07-25 15:38 Jim Luth Status new => assigned
2023-07-25 15:38 Jim Luth Commit Version => 1.05.04 RC
2023-07-25 15:38 Jim Luth Fix Due Date => 2023-11-01
2023-10-17 06:46 Randy Armstrong Status assigned => resolved
2023-10-17 06:46 Randy Armstrong Resolution open => fixed
2023-10-17 06:46 Randy Armstrong Fixed in Version => 1.05.04 RC1
2023-10-17 06:46 Randy Armstrong Note Added: 0020196
2024-05-21 15:42 Randy Armstrong Note Added: 0021220
2024-05-21 15:43 Jim Luth Note Added: 0021221
2024-05-21 15:43 Jim Luth Status resolved => closed
2024-05-21 15:43 Jim Luth Note Added: 0021222