This is an automated email from the ASF dual-hosted git repository. jlmonteiro pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/johnzon.git
The following commit(s) were added to refs/heads/master by this push: new b2827e59 fix: typo in Johnzon name b2827e59 is described below commit b2827e596fbe005f935b368a82f5990fdb04a5e0 Author: Jean-Louis Monteiro <jlmonte...@tomitribe.com> AuthorDate: Mon May 22 09:21:25 2023 +0200 fix: typo in Johnzon name Signed-off-by: Jean-Louis Monteiro <jlmonte...@tomitribe.com> --- src/site/markdown/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/site/markdown/index.md b/src/site/markdown/index.md index 324684d8..0cc87b82 100644 --- a/src/site/markdown/index.md +++ b/src/site/markdown/index.md @@ -369,13 +369,13 @@ You can use some optimization to map a `JsonObject` to a POJO using Johnzon `Jso <pre class="prettyprint linenums"><![CDATA[ final JsonValueReader<Simple> reader = new JsonValueReader<>(Json.createObjectBuilder().add("value", "simple").build()); -final Jsonb jsonb = getJohnsonJsonb(); +final Jsonb jsonb = getJohnzonJsonb(); final Simple simple = jsonb.fromJson(reader, SomeModel.class); ]]></pre> <pre class="prettyprint linenums"><![CDATA[ final JsonValueWriter writer = new JsonValueWriter(); -final Jsonb jsonb = getJohnsonJsonb(); +final Jsonb jsonb = getJohnzonJsonb(); jsonb.toJson(object, writer); final JsonObject jsonObject = writer.getObject(); ]]></pre>