Package io.github.qishr.cascara.lang.json.processor
Class JsonConverter
java.lang.Object
io.github.qishr.cascara.lang.json.processor.AbstractJsonProcessor<io.github.qishr.cascara.lang.json.processor.JsonConverter>
io.github.qishr.cascara.lang.json.processor.JsonConverter
All Implemented Interfaces:
AstConverter<JsonNode>
public class JsonConverter
extends AbstractJsonProcessor<JsonConverter>
Constructor Summary
| Constructor | Description |
|---|---|
| JsonConverter() |
Method Summary
| Modifier and Type | Method | Description |
|---|---|---|
| protected JsonConverter | self() | |
| public ContentType | getContentType() | |
| public String | toText(AstNode ast) | |
| public JsonNode | fromAst(AstNode from) |
Methods inherited from AbstractJsonProcessor
setReporter, getOptions, getServiceProperties, getVersion, getReporter, setOptions, getTextResource
Method Details
self
protected JsonConverter self()
Overrides:
getContentType
public ContentType getContentType()
Overrides:
toText
public String toText(AstNode ast)
Specified By:
fromAst
@io.github.qishr.cascara.common.lang.annotation.Nullable
public JsonNode fromAst(AstNode from)
Specified By: