From 2dc69359f024ac0c20916edd0ba43439393fb7ed Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Thu, 5 Mar 2020 23:15:25 +0100 Subject: [trivial] minor updates to Jacksonized docs. --- website/templates/features/experimental/Jacksonized.html | 9 +++------ website/templates/features/experimental/SuperBuilder.html | 2 ++ website/templates/features/experimental/index.html | 2 +- 3 files changed, 6 insertions(+), 7 deletions(-) (limited to 'website/templates/features/experimental') diff --git a/website/templates/features/experimental/Jacksonized.html b/website/templates/features/experimental/Jacksonized.html index fd2bfe68..1182bdef 100644 --- a/website/templates/features/experimental/Jacksonized.html +++ b/website/templates/features/experimental/Jacksonized.html @@ -1,6 +1,6 @@ <#import "../_features.html" as f> -<@f.scaffold title="@Jacksonized" logline="Make Jackson use your builders."> +<@f.scaffold title="@Jacksonized" logline="Bob, meet Jackson. Lets make sure you become fast friends."> <@f.history>

@Jacksonized was introduced as experimental feature in lombok v1.18.14. @@ -22,10 +22,7 @@ public class JacksonExample { }

- This annotation is especially useful when deserializing into immutable (sub-)classes that only use @SuperBuilder to create instances. - With @Jacksonized, you do not have to put the complex @SuperBuilder class header into your code just to configure it for Jackson. -

- This annotation does not change the behavior of the generated builder. + This annotation does not change the behavior of the generated builder. A @Jacksonized @SuperBuilder remains fully compatible to regular @SuperBuilders.

@@ -35,7 +32,7 @@ public class JacksonExample { In particular, the annotation does the following: Example usage where all options are changed from their defaults:
@SuperBuilder(buildMethodName = "execute", builderMethodName = "helloWorld", toBuilder = true, setterPrefix = "set")
+

+ Looking to use your superbuilder with Jackson, the JSON/XML tool? We have you covered: Check out the @Jacksonized feature.

diff --git a/website/templates/features/experimental/index.html b/website/templates/features/experimental/index.html index dc7870cf..32590815 100644 --- a/website/templates/features/experimental/index.html +++ b/website/templates/features/experimental/index.html @@ -73,7 +73,7 @@ <@main.feature title="@Jacksonized" href="Jacksonized"> - Make Jackson use your builders. + Bob, meet Jackson. Lets make sure you become fast friends. -- cgit