public class JacksonUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
configure(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
java.util.function.Consumer<? super JsonError> jsonErrorConsumer)
Perform a default configuration of the given object mapper for
parsing glTF data
|
static java.util.function.Consumer<JsonError> |
loggingJsonErrorConsumer()
Returns a consumer for
JsonErrors that prints logging
messages for the errors. |
public static java.util.function.Consumer<JsonError> loggingJsonErrorConsumer()
JsonErrors that prints logging
messages for the errors.public static void configure(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
java.util.function.Consumer<? super JsonError> jsonErrorConsumer)
objectMapper - The object mapperjsonErrorConsumer - The consumer for JsonErrors. If this
is null, then the errors will not be handled.Copyright © 2022. All Rights Reserved.