Skip to content

Package io.github.qishr.cascara.lang.json.processor

Class JsonConverter

java.lang.Object
        io.github.qishr.cascara.lang.json.internal.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 toString(AstNode ast)
public JsonNode fromAst(AstNode from)

Method Details

self

protected JsonConverter self()


getContentType

public ContentType getContentType()

Overrides:

AbstractJsonProcessor


toString

public String toString(AstNode ast)

Specified By:

AstConverter


fromAst

@io.github.qishr.cascara.common.annotation.Nullable
public JsonNode fromAst(AstNode from)

Specified By:

AstConverter