eureka-client/src/main/java/com/netflix/discovery/converters/wrappers/CodecWrappers.java [157:174]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        @Override
        public <T> String encode(T object) throws IOException {
            return codec.getObjectMapper(object.getClass()).writeValueAsString(object);
        }

        @Override
        public <T> void encode(T object, OutputStream outputStream) throws IOException {
            codec.writeTo(object, outputStream);
        }

        @Override
        public <T> T decode(String textValue, Class<T> type) throws IOException {
            return codec.getObjectMapper(type).readValue(textValue, type);
        }

        @Override
        public <T> T decode(InputStream inputStream, Class<T> type) throws IOException {
            return codec.getObjectMapper(type).readValue(inputStream, type);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



eureka-client/src/main/java/com/netflix/discovery/converters/wrappers/CodecWrappers.java [227:244]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        @Override
        public <T> String encode(T object) throws IOException {
            return codec.getObjectMapper(object.getClass()).writeValueAsString(object);
        }

        @Override
        public <T> void encode(T object, OutputStream outputStream) throws IOException {
            codec.writeTo(object, outputStream);
        }

        @Override
        public <T> T decode(String textValue, Class<T> type) throws IOException {
            return codec.getObjectMapper(type).readValue(textValue, type);
        }

        @Override
        public <T> T decode(InputStream inputStream, Class<T> type) throws IOException {
            return codec.getObjectMapper(type).readValue(inputStream, type);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



