Encodes classes and structs. If withFieldName is yes, than value is encoded as map. If withFieldName is no, then value is encoded as an array. If flatten flag is yes then static arrays and structs will be encoded in place without headers.
See Implementation
Encodes classes and structs. If withFieldName is yes, than value is encoded as map. If withFieldName is no, then value is encoded as an array. If flatten flag is yes then static arrays and structs will be encoded in place without headers.