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 ast) |
Methods inherited from AbstractJsonProcessor
setReporter, setOptions, getServiceProperties
Method Details
self
protected JsonConverter self()
getContentType
public ContentType getContentType()
toText
public String toText(AstNode ast)
Specified By:
fromAst
public JsonNode fromAst(AstNode ast)
Specified By: