Skip to main content
Back to registry

unit-test-json-serialization

giuseppe-trisciuoglio/developer-kit

This skill provides patterns for unit testing JSON serialization and deserialization using Spring's @JsonTest and Jackson. It covers testing POJO mapping, custom serializers/deserializers, field name mappings, nested objects, date/time formatting, polymorphic types, and null handling without full Spring context.

Installs292
Install command
npx skills add https://github.com/giuseppe-trisciuoglio/developer-kit --skill unit-test-json-serialization
Security audits
Gen Agent Trust HubPASS
SocketPASS
SnykPASS
About this skill
This skill provides patterns for unit testing JSON serialization and deserialization using Spring's @JsonTest and Jackson. It covers testing POJO mapping, custom serializers/deserializers, field name mappings, nested objects, date/time formatting, polymorphic types, and null handling without full Spring context. Use this skill when: JacksonTester not available : Ensure class is annotated with @JsonTest . Field name doesn't match : Check @JsonProperty annotation and Jackson configuration. DateTime parsing fails : Verify date format matches Jackson's expected format. - Testing JSON serialization of DTOs - Testing JSON deserialization to objects - Testing custom Jackson serializers/deserializers - Verifying JSON field names and formats - Testing null handling in JSON - Want fast JSON mapping tests without full Spring context - Use @JsonTest annotation : Configure test context with @JsonTest for JacksonTester auto-configuration - Test both serialization and deserialization : Verify objects serialize to JSON and JSON deserializes to objects - Use JacksonTester : Autowire JacksonTester for type-safe JSON assertions - Test null handling : Verify null fields are handled correctly (included or excluded) - Test nested objects : Verify complex nested structures serialize/deserialize properly - Test date/time formats : Verify LocalDateTime, Date, and other temporal types format correctly...

Source description provided by the upstream skill listing. Community reviews and install context appear in the sections below.

Community Reviews

Latest reviews

Sign in to review

No community reviews yet. Be the first to review.

Browse this skill in context
FAQ
What does unit-test-json-serialization do?

This skill provides patterns for unit testing JSON serialization and deserialization using Spring's @JsonTest and Jackson. It covers testing POJO mapping, custom serializers/deserializers, field name mappings, nested objects, date/time formatting, polymorphic types, and null handling without full Spring context.

Is unit-test-json-serialization good?

unit-test-json-serialization does not have approved reviews yet, so SkillJury cannot publish a community verdict.

What agent does unit-test-json-serialization work with?

unit-test-json-serialization currently lists compatibility with codex, gemini-cli, opencode, cursor, github-copilot, claude-code.

What are alternatives to unit-test-json-serialization?

Skills in the same category include telegram-bot-builder, flutter-app-size, sharp-edges, iterative-retrieval.

How do I install unit-test-json-serialization?

npx skills add https://github.com/giuseppe-trisciuoglio/developer-kit --skill unit-test-json-serialization

Related skills

More from giuseppe-trisciuoglio/developer-kit

typescript-docs

by giuseppe-trisciuoglio/developer-kit

621

Deliver production-ready TypeScript documentation that serves multiple audiences through layered documentation architecture. Generate API docs with TypeDoc, create architectural decision records, and maintain comprehensive code examples.

Software EngineeringFrontend and DesignFirst seen Jan 19, 2026

nestjs

by giuseppe-trisciuoglio/developer-kit

596

This skill provides comprehensive guidance for building NestJS applications with TypeScript, including integration with Drizzle ORM for database operations. It covers all major aspects of NestJS development from basic module structure to advanced patterns like microservices and GraphQL.

Software EngineeringFrontend and DesignFirst seen Jan 19, 2026

spring-boot-test-patterns

by giuseppe-trisciuoglio/developer-kit

443

This skill provides comprehensive guidance for writing robust test suites for Spring Boot applications. It covers unit testing with Mockito, integration testing with Testcontainers, performance-optimized slice testing patterns, and best practices for maintaining fast feedback loops.

Software EngineeringFrontend and DesignFirst seen Feb 2, 2026

spring-boot-rest-api-standards

by giuseppe-trisciuoglio/developer-kit

409

This skill provides comprehensive guidance for building RESTful APIs in Spring Boot applications with consistent design patterns, proper error handling, validation, and architectural best practices based on REST principles and Spring Boot conventions.

Software EngineeringFrontend and DesignFirst seen Feb 2, 2026
Related skills

Alternatives in Software Engineering