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