Serializing with primitive data types supports character strings, binary strings, and numeric data types. Below are a few (non-exhaustive) examples of serialization with primitive data types. See the full list of supported primitive types.
// input record bytes as Integer
123
// output will read bytes as Integer
{ "intValue": 123 }
// input record bytes as String
abcd
// output will be read bytes as String
// It's also likely for other string bytes that there will be a
// deserialization error while attempting to cast String to Integer
{ "intValue": 1633837924 }