Jackson can serialize Java records directly to JSON without additional configuration.
Java records are a special kind of class that holds immutable data. Jackson can automatically serialize these records to JSON due to their predictable structure. For instance, record Product(String name, double price) can be serialized without extra annotations or configurations.