json4s / json4s/json4s

support Jackson StreamReadConstraints

Open
#1,444 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Scala
Stars
1.5k
Forks
324
Avg merge
4h 35m
Merged PRs (30d)
30

Description

The StreamReadConstraints added in Jackson 2.15 applies parsing limits that are high but users can still hit the limits with edge case documents.

It might be useful to allow for configuration.
See https://github.com/pjfanning/incubator-pekko/blob/798645462e6041e3c15dcb0cd6e72d9ad8519f40/serialization-jackson/src/main/resources/reference.conf#L53-L62

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the Jackson serialization configuration and the linked reference.conf lines 53–62, which show a related configuration approach in Pekko. Determine where json4s exposes Jackson parsing settings and define what configurable StreamReadConstraints should cover. Done means users can configure the relevant parsing limits.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.