Skip to content

Writing JSON from a stream throws an exception #7

@twincitiesguy

Description

@twincitiesguy

Using post() or put() on the client with an "application/json" or "text/json" content-type and using an InputStream as the data throws the following exception:

Caused by: org.codehaus.jackson.map.JsonMappingException: No serializer found for class java.io.ByteArrayInputStream and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationConfig.Feature.FAIL_ON_EMPTY_BEANS) )

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions