Class NDArraySerializer

  • All Implemented Interfaces:
    org.nd4j.shade.jackson.databind.jsonFormatVisitors.JsonFormatVisitable

    public class NDArraySerializer
    extends org.nd4j.shade.jackson.databind.JsonSerializer<INDArray>
    Author:
    Adam Gibson
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.nd4j.shade.jackson.databind.JsonSerializer

        org.nd4j.shade.jackson.databind.JsonSerializer.None
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void serialize​(INDArray indArray, org.nd4j.shade.jackson.core.JsonGenerator jsonGenerator, org.nd4j.shade.jackson.databind.SerializerProvider serializerProvider)  
      • Methods inherited from class org.nd4j.shade.jackson.databind.JsonSerializer

        acceptJsonFormatVisitor, getDelegatee, handledType, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, serializeWithType, unwrappingSerializer, usesObjectId, withFilterId
    • Constructor Detail

      • NDArraySerializer

        public NDArraySerializer()
    • Method Detail

      • serialize

        public void serialize​(INDArray indArray,
                              org.nd4j.shade.jackson.core.JsonGenerator jsonGenerator,
                              org.nd4j.shade.jackson.databind.SerializerProvider serializerProvider)
                       throws IOException
        Specified by:
        serialize in class org.nd4j.shade.jackson.databind.JsonSerializer<INDArray>
        Throws:
        IOException