Package org.revapi.json
Class JsonArchiveAnalyzer
- java.lang.Object
-
- org.revapi.base.BaseArchiveAnalyzer<F,E>
-
- org.revapi.base.BaseEagerLoadingArchiveAnalyzer<F,E>
-
- org.revapi.base.ZipArchiveAnalyzer<org.revapi.base.BaseElementForest<E>,E>
-
- org.revapi.jackson.JacksonArchiveAnalyzer<JsonElement>
-
- org.revapi.json.JsonArchiveAnalyzer
-
- All Implemented Interfaces:
org.revapi.ArchiveAnalyzer<JsonElement>
public class JsonArchiveAnalyzer extends org.revapi.jackson.JacksonArchiveAnalyzer<JsonElement>
-
-
Constructor Summary
Constructors Constructor Description JsonArchiveAnalyzer(JsonApiAnalyzer apiAnalyzer, org.revapi.API api, Pattern pathMatcher, com.fasterxml.jackson.databind.ObjectMapper objectMapper, Charset charset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected JsonElement
toElement(org.revapi.Archive archive, String filePath, com.fasterxml.jackson.core.TreeNode node, int indexInParent)
protected JsonElement
toElement(org.revapi.Archive archive, String filePath, com.fasterxml.jackson.core.TreeNode node, String keyInParent)
-
Methods inherited from class org.revapi.jackson.JacksonArchiveAnalyzer
createElements, newElementForest
-
Methods inherited from class org.revapi.base.BaseEagerLoadingArchiveAnalyzer
discoverElements, discoverRoots, preAnalyze
-
-
-
-
Constructor Detail
-
JsonArchiveAnalyzer
public JsonArchiveAnalyzer(JsonApiAnalyzer apiAnalyzer, org.revapi.API api, @Nullable Pattern pathMatcher, com.fasterxml.jackson.databind.ObjectMapper objectMapper, Charset charset)
-
-
Method Detail
-
toElement
protected JsonElement toElement(org.revapi.Archive archive, String filePath, com.fasterxml.jackson.core.TreeNode node, String keyInParent)
- Specified by:
toElement
in classorg.revapi.jackson.JacksonArchiveAnalyzer<JsonElement>
-
toElement
protected JsonElement toElement(org.revapi.Archive archive, String filePath, com.fasterxml.jackson.core.TreeNode node, int indexInParent)
- Specified by:
toElement
in classorg.revapi.jackson.JacksonArchiveAnalyzer<JsonElement>
-
-