byte [ ] function ( Object arg0 ) { if ( arg0 == null ) { return EMPTY_BYTES ; } return OBJECT_WRITER . writeValueAsBytes ( arg0 ) ; }
serializes an object into a byte array . along with #read byte , can be used to serialize an object and deserialize it into an object of the same type without needing to specify the object 's type , as long as it is one of the json-compatible objects understood by objectmapper . concode_field_sep ObjectReader OBJECT_READER concode_elem_sep ObjectWriter OBJECT_WRITER concode_elem_sep byte[] EMPTY_BYTES concode_field_sep byte[] writeReverseOrderedLong concode_elem_sep byte[] writeReverseOrderedLong concode_elem_sep Object read concode_elem_sep Object read concode_elem_sep long readReverseOrderedLong