Skip to content

exceeds the maximum length #20

Closed
Closed
@gianluca-valentini

Description

@gianluca-valentini

Hi,
i'm using v4.10 version of jackson dataformat velocypack.
In ArangoDB i need sometimes to save some text and i have the follow error:

com.fasterxml.jackson.databind.JsonMappingException: String length (20049662) exceeds the maximum length (20000000).

How I can solve it? I know that jackson can increase the maximum length of textual values by using the setMaxTextLength method of the StreamReadConstraints class but I don't have access to it (or ObjectMapper mapper = new ObjectMapper();
mapper.reader().with(StreamReadConstraints.builder().setMaxTextLength(30000000).build())
).

Is there something that I can use or set ot increase that value?
Thanks
Gianluca Valentini

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions