public class JsonMappers extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CUSTOM_REGISTRATION_PROPERTY
This system property is provided as an alternative to
NeuralNetConfiguration.registerLegacyCustomClassesForJSON(Class[]) . |
Constructor and Description |
---|
JsonMappers() |
Modifier and Type | Method and Description |
---|---|
static org.nd4j.shade.jackson.databind.ObjectMapper |
getMapper() |
static org.nd4j.shade.jackson.databind.ObjectMapper |
getMapperYaml() |
public static String CUSTOM_REGISTRATION_PROPERTY
NeuralNetConfiguration.registerLegacyCustomClassesForJSON(Class[])
.
Classes can be specified in comma-separated formatpublic static org.nd4j.shade.jackson.databind.ObjectMapper getMapper()
public static org.nd4j.shade.jackson.databind.ObjectMapper getMapperYaml()
Copyright © 2018. All rights reserved.