Re: [jackson-user] Why isn't there a public way to write a byte[] in JsonGenerator?

2018-10-02 Thread Tatu Saloranta
On Tue, Oct 2, 2018 at 10:34 PM Nilson Santos Figueiredo Jr. wrote: > > Hi, > > I have a particular use-case where we're trying to optimize some code which > uses Jackson to generate less garbage. > The desired outcome here is to do something similar to what > com.fasterxml.jackson.databind.ser.

[jackson-user] Generate XSD from Java class

2018-10-02 Thread alagane
Hi, Is there a simple way to generate XSD from a Java class? I successfully generated JSON with Jackson Module JsonSchema but I didn't found how to do it with XSD (no module existing ?). I would like to be able to to it like in JSON, see this code: ObjectMapper jsonMapper = new ObjectMapper();

[jackson-user] Why isn't there a public way to write a byte[] in JsonGenerator?

2018-10-02 Thread Nilson Santos Figueiredo Jr.
Hi, I have a particular use-case where we're trying to optimize some code which uses Jackson to generate less garbage. The desired outcome here is to do something similar to what com.fasterxml.jackson.databind.ser.std.RawSerializer does, but avoiding the toString() conversion. Everything is wor