Json Articles
2 articles about Json. Explore Spring Boot implementation, design, and operations across related topics.
-
Customizing JSON Serialization with Jackson Configuration in Spring Boot
A guide to Spring Boot's Jackson configuration covering date formatting, null exclusion, snake_case conversion, and custom Serializers with code examples. An implementation guide for controlling REST API JSON output as intended.
-
How to Output JSON Structured Logs in Spring Boot - Production-Ready Setup with Logstash Encoder and MDC
Step-by-step guide to configuring Spring Boot to output logs in JSON format using logstash-logback-encoder. Covers how to automatically attach request IDs and user IDs via MDC, Spring Boot 3.4 native structured logging support, and environment-based profile switching.