Class MapperFactory

java.lang.Object
uk.ac.manchester.spinnaker.machine.bean.MapperFactory

public final class MapperFactory
extends Object
Creates a mapper that can handle the sort of JSON mappings used in SpiNNaker code.
Author:
Christian-B
  • Method Details

    • createMapper

      public static ObjectMapper createMapper()
      Static method to create the object mapper.

      This method makes sure that all JSON unmarshallers use the same mapper set up the exact same way.

      Returns:
      The Object Mapper used by the Spalloc client,