Uploaded image for project: 'ProtoStream'
  1. ProtoStream
  2. IPROTO-187

Add support for marshalling null elements in collections/arrays

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 4.4.0.Alpha5
    • 4.4.0.Alpha1
    • None
    • False
    • False
    • DataGrid Sprint #57
    • Undefined

      So far, protostream has minimal support for nulls. A top level null object is marshalled as the empty (zero bytes) message.

       

      For the sake of backward compatibility we'll keep this behavior for top level, but we need a different approach for elements of an array or collection. In this case we need to use a null token. A new field will be added in WappedMessage to represent the null.

              anistor Adrian Nistor (Inactive)
              anistor Adrian Nistor (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: