io.github.jamsesso.jsonlogic.ast.JsonLogicString Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of json-logic-java Show documentation
Show all versions of json-logic-java Show documentation
A native Java implementation of the json-logic project
package io.github.jamsesso.jsonlogic.ast;
public class JsonLogicString implements JsonLogicPrimitive {
private final String value;
public JsonLogicString(String value) {
this.value = value;
}
@Override
public String getValue() {
return value;
}
@Override
public JsonLogicPrimitiveType getPrimitiveType() {
return JsonLogicPrimitiveType.STRING;
}
}