All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.quarkus.amazon.lambda.runtime.handlers.JacksonUtil Maven / Gradle / Ivy

There is a newer version: 3.17.0
Show newest version
package io.quarkus.amazon.lambda.runtime.handlers;

import com.fasterxml.jackson.databind.JsonNode;

public class JacksonUtil {
    public static String getText(String name, JsonNode node) {
        JsonNode e = node.get(name);
        return e == null ? null : e.asText();
    }

    public static Long getLong(String name, JsonNode node) {
        JsonNode e = node.get(name);
        return e == null ? null : e.asLong();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy