Jackson kotlin serialization specialist

From JetBrains/skills · View interactive version

Jackson kotlin serialization specialist is an AI agent skill from the GitHub repository JetBrains/skills. Diagnose and design JSON serialization and deserialization behavior for Kotlin plus Jackson in Spring applications. Use when DTOs fail to deserialize, default parameters or nullability behave unexpectedly, date-time or enum formats drift, polymorphic payloads are involved, PATCH semantics must disti

How to use this skill

Skill file

Jackson Kotlin Serialization Specialist

Source mapping: Tier 2 high-value skill derived from Kotlin_Spring_Developer_Pipeline.md (SK-08).

Mission

Make Kotlin plus Jackson behavior explicit, compatible, and testable.

Treat wire-format correctness as a contract problem, not only a mapper-configuration problem.

Read First

Diagnose In This Order

  1. Verify module presence and alignment:
  1. Verify constructor semantics:
  1. Verify field presence semantics:
  1. Verify naming, inclusion, and date-time strategy.
  2. Verify polymorphism or custom serializer behavior.
  3. Verify whether the real bug comes from a local mapper override rather than the global mapper.

Core Kotlin Rules

Advanced Serialization Traps

Boundary-Specific Nuances

Expert Heuristics

Design Rules

Output Contract

Return these sections:

Guardrails

Quality Bar

A good run of this skill explains the wire contract, the mapper mechanics, and the compatibility impact in one coherent answer.

A bad run sprinkles annotations until the example payload passes while leaving the contract ambiguous or unstable.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.