Class JsonInterpreter
- java.lang.Object
-
- com.noleme.vault.parser.resolver.dialect.interpreter.JsonInterpreter
-
- All Implemented Interfaces:
DialectInterpreter<InputStream>
public class JsonInterpreter extends Object implements DialectInterpreter<InputStream>
- Author:
- Pierre Lecerf ([email protected]) Created on 2020/11/28
-
-
Constructor Summary
Constructors Constructor Description JsonInterpreter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canInterpret(Object data)
com.fasterxml.jackson.databind.node.ObjectNode
interpret(InputStream data)
boolean
isExpected(String origin)
-
-
-
Method Detail
-
isExpected
public boolean isExpected(String origin)
- Specified by:
isExpected
in interfaceDialectInterpreter<InputStream>
- Returns:
-
canInterpret
public boolean canInterpret(Object data)
- Specified by:
canInterpret
in interfaceDialectInterpreter<InputStream>
- Returns:
-
interpret
public com.fasterxml.jackson.databind.node.ObjectNode interpret(InputStream data) throws VaultResolverException
- Specified by:
interpret
in interfaceDialectInterpreter<InputStream>
- Returns:
- Throws:
VaultResolverException
-
-