Skip to content

Conversation

@daniel-kmiecik
Copy link
Contributor

@daniel-kmiecik daniel-kmiecik commented Dec 17, 2025

Description

The fix separates YAML parsing from data mapping: the YAML text is first parsed using SnakeYAML with increased safety limits.
The resulting Java object structure is then converted to a JsonNode using the existing mapper, without Jackson parsing the YAML itself.
This avoids Jackson YAML size/depth limits while preserving all existing mapper configuration and behavior.
Fix for #2059

Type of Change

  • 🐛 Bug fix
  • ✨ New feature
  • ♻️ Refactor (non-breaking change)
  • 🧪 Tests
  • 📝 Documentation
  • 🧹 Chore (build or tooling)

Checklist

  • I have added/updated tests as needed
  • I have added/updated documentation where applicable
  • The PR title is descriptive
  • The code builds and passes tests locally
  • I have linked related issues (if any)

Screenshots / Additional Context

@ewaostrowska
Copy link
Contributor

Please add a short description of the solution

@daniel-kmiecik daniel-kmiecik merged commit 399ab83 into master Dec 17, 2025
5 checks passed
@daniel-kmiecik daniel-kmiecik deleted the fix-parse-large-file branch December 17, 2025 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants