|
1 | 1 | # ModernProtobuf |
2 | 2 |
|
3 | | -A modern implementation of the Protobuf specification for Java 17 and upwards. |
| 3 | +A modern implementation of the Protobuf specification for Java 21 and upwards. |
4 | 4 | Both Protobuf 2 and 3 are supported. |
5 | 5 |
|
6 | 6 | ### What is ModernProtobuf |
@@ -3261,7 +3261,7 @@ PerformanceBenchmark.jacksonProtobuf avgt 5 586.401 ± 2.222 us/ |
3261 | 3261 |
|
3262 | 3262 | **ModernProtobuf is the fastest** |
3263 | 3263 |
|
3264 | | -I'm committed to maintain ModernProtobuf's performance, so, if under any edge cases its performance doesn't live up to expectation, I'm happy to work on it. |
| 3264 | +> I'm committed to maintain ModernProtobuf's performance, so, if under any edge cases its performance doesn't live up to expectation, I'm happy to work on it. |
3265 | 3265 |
|
3266 | 3266 | ### Schema generation and updating |
3267 | 3267 |
|
@@ -3521,7 +3521,8 @@ in your Protobuf model? This is possible using Mixins. This library provides bui |
3521 | 3521 | 3. Map, HashMap, ConcurrentMap, NavigableMap and SortedMap (**ProtobufMapMixin**) |
3522 | 3522 | 4. List, Set, Queue, Deque, ConcurrentHashMap.KeySetView (**ProtobufRepeatedMixin**) |
3523 | 3523 | 5. UUID (**ProtobufUUIDMixin**) |
3524 | | -
|
| 3524 | +6. URI (**ProtobufURIMixin**) |
| 3525 | +7. |
3525 | 3526 | These mixins are registered by default, but you can register your own by passing them to `mixins` when annotating a field with `@ProtobufProperty`. |
3526 | 3527 | A custom mixin can be defined by declaring a class annotated with `@ProtobufMixin`. |
3527 | 3528 | Inside this class, you can use `@ProtobufSerializer`, `@ProtobufDeserializer` and `@ProtobufDefaultValue` to define how Protobuf should handle these types. |
|
0 commit comments