jackson-kotlin-serialization-specialist

Diagnose Kotlin and Jackson JSON serialization issues in Spring applications.

4|Updated Jun 10, 2026
One-click install
npx skills add https://github.com/mymx2/foreman --skill jackson-kotlin-serialization-specialist-mymx2
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: jackson-kotlin-serialization-specialist
Source: https://github.com/mymx2/foreman/tree/main/.qoder/skills.collected/skills/jackson-kotlin-serialization-specialist
Command: npx skills add https://github.com/mymx2/foreman --skill jackson-kotlin-serialization-specialist-mymx2

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill resolves complex serialization and deserialization issues between Kotlin and Jackson, ensuring that your DTOs, polymorphic payloads, and API contracts behave predictably and correctly.

Core Features & Use Cases

  • Contract Diagnosis: Identifies why DTOs fail to deserialize or why default parameters and nullability behave unexpectedly.
  • Boundary Management: Helps isolate and fix serialization logic for specific boundaries like Kafka, WebFlux, or Redis without breaking global configurations.
  • Use Case: When a PATCH request fails to distinguish between a null value and an absent field, this skill provides the exact configuration or DTO adjustment needed to handle tri-state semantics correctly.

Quick Start

Use the jackson-kotlin-serialization-specialist skill to diagnose why the UserProfile DTO is failing to deserialize the incoming JSON payload.

Frequently Asked Questions about jackson-kotlin-serialization-specialist

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
Why does my Kotlin DTO fail to deserialize JSON payloads in Spring?

Kotlin DTO deserialization often fails due to missing Jackson module alignment or constructor semantics. This skill diagnoses these exact failures by verifying module registration and field presence strategies to ensure correct wire-format mapping.

How do I handle PATCH semantics to distinguish null values from absent fields in Jackson?

Handling PATCH semantics requires configuring tri-state logic for absent fields versus null values. This skill provides the specific DTO adjustments and ObjectMapper configurations needed to correctly process partial JSON updates.

How do I isolate custom Jackson serialization for Kafka or WebFlux without breaking global Spring configuration?

Isolating custom Jackson serialization for boundaries like Kafka or WebFlux requires boundary-specific ObjectMapper configurations. This skill helps manage these isolated configurations to prevent breaking global application settings.

What causes unexpected nullability behavior with default parameters in Kotlin Jackson serialization?

Unexpected nullability behavior with default parameters stems from constructor semantics and field presence strategies. This skill diagnoses these core Jackson and Kotlin mapping issues to ensure predictable DTO behavior.

Can I configure polymorphic JSON payloads correctly with Jackson in a Spring Kotlin application?

Configuring polymorphic JSON payloads with Jackson in Spring requires verifying module alignment and constructor semantics. This skill designs and validates these deserialization behaviors to ensure wire-format correctness.