Skip to content
U

unit-test-json-serialization

Provides patterns for unit testing JSON serialization/deserialization

by giuseppe-trisciuoglioFree

#7353in AI Skills
0In stores

Description

Unit test JSON serialization is an agent skill for testing how Java objects are converted to and from JSON. It uses Spring's @JsonTest toget…

Highlights

  • @JsonTest slices with Jackson
  • Custom serializers and deserializers
  • Field name mapping and ignored fields
  • Date and time format tests
  • Polymorphic type deserialization

Ratings & Reviews

No ratings yet

Be the first to rate unit-test-json-serialization.

People also visit

U

unit-test-controller-layer

Provides patterns for unit testing REST controllers

AI Skills
Get
U

unit-test-mapper-converter

Provides patterns for unit testing mappers, converters, and bean mappings

AI Skills
Get
U

unit-test-exception-handler

Provides patterns for unit testing `@ExceptionHandler`

AI Skills
Get
U

unit-test-parameterized

Provides parameterized testing patterns

AI Skills
Get
U

unit-test-boundary-conditions

Provides edge case, corner case, boundary condition

AI Skills
Get
U

unit-test-caching

Provides patterns for unit testing Spring Cache annotations

AI Skills
Get

unit-test-json-serialization FAQ

What does the skill test?

How DTOs and models serialise to JSON and deserialise back, including custom serializers, names, dates and polymorphic types.

How do I install it?

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

Which annotations does it cover?

@JsonProperty and @JsonIgnore, along with Spring's @JsonTest.

Has the skill been security audited?

Yes. Gen Agent Trust Hub shows Pass, Socket shows Pass and Snyk shows Pass.

What are the best unit-test-json-serialization alternatives?

Popular alternatives to unit-test-json-serialization include unit-test-controller-layer, unit-test-mapper-converter and unit-test-exception-handler. See all unit-test-json-serialization alternatives

Developer Stuff

Badges