This is an automated email from the ASF dual-hosted git repository.

bdelacretaz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-samples.git


The following commit(s) were added to refs/heads/master by this push:
     new 9177e8b  Mention existing usage
9177e8b is described below

commit 9177e8bf92ad3c68b5bd400fbec2536205f5cce8
Author: Bertrand Delacretaz <[email protected]>
AuthorDate: Thu Jul 22 16:23:02 2021 +0200

    Mention existing usage
---
 json-generation/README.md | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/json-generation/README.md b/json-generation/README.md
index 92ebeb2..aecfab0 100644
--- a/json-generation/README.md
+++ b/json-generation/README.md
@@ -12,3 +12,7 @@ Generating JSON in this way looks like a good default method 
for Sling, as
 the only required dependency is our `org.apache.sling.commons.johnzon` module,
 which embeds those JSR-374 APIs as well as the [Apache 
Johnzon](https://johnzon.apache.org/) 
 core in a relatively small bundle (150kB as I write this).
+
+The `JsonGenerator` is used in several of our modules already, searching for 
`import javax.json.stream.JsonGenerator`
+in the Sling codebase reports 26 results as I write this. This minimal example 
can help decide if it will also work
+for your use case.

Reply via email to