You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like "binary" representation is not available, yet. Although one can use NATURAL in many cases (like, say, byte[]), there are cases where one might want to use binary representation even if it was not the default. For example, when serializing java.util.UUID as JSON, natural representation is Shape.STRING, but one could conceivably want to use "binary", which in case of JSON would mean Base64 encoding.
But more importantly, it may be important to distinguish shape representations for formats that do have native binary values: it is likely that Avro and Protobuf formats would need such a Shape descriptor for customizations.
The text was updated successfully, but these errors were encountered:
Looks like "binary" representation is not available, yet. Although one can use
NATURAL
in many cases (like, say,byte[]
), there are cases where one might want to use binary representation even if it was not the default. For example, when serializingjava.util.UUID
as JSON, natural representation isShape.STRING
, but one could conceivably want to use "binary", which in case of JSON would mean Base64 encoding.But more importantly, it may be important to distinguish shape representations for formats that do have native binary values: it is likely that Avro and Protobuf formats would need such a Shape descriptor for customizations.
The text was updated successfully, but these errors were encountered: