Boilerplate code to serialize a NeighborhoodExtractor to JSON using Spray.
NOTE: If a subclass has a field named type, this will fail to serialize.
NOTE: IF YOU INHERIT FROM NeighborhoodExtractor, THEN YOU MUST MODIFY THESE SUBROUTINES
IN ORDER TO CORRECTLY EMPLOY JSON SERIALIZATION FOR YOUR NEW SUBCLASS.
Boilerplate code to serialize a NeighborhoodExtractor to JSON using Spray.
NOTE: If a subclass has a field named
type
, this will fail to serialize.NOTE: IF YOU INHERIT FROM NeighborhoodExtractor, THEN YOU MUST MODIFY THESE SUBROUTINES IN ORDER TO CORRECTLY EMPLOY JSON SERIALIZATION FOR YOUR NEW SUBCLASS.