net.hamnaberg.json.OptionalFolder Maven / Gradle / Ivy
package net.hamnaberg.json;
import java.util.Optional;
public class OptionalFolder implements Folder> {
@Override
public Optional onNull() {
return Optional.empty();
}
@Override
public Optional onBoolean(Json.JBoolean b) {
return Optional.empty();
}
@Override
public Optional onNumber(Json.JNumber n) {
return Optional.empty();
}
@Override
public Optional onString(Json.JString s) {
return Optional.empty();
}
@Override
public Optional onArray(Json.JArray a) {
return Optional.empty();
}
@Override
public Optional onObject(Json.JObject o) {
return Optional.empty();
}
}