'Creates MapperSpec from a dict-like object.'

@classmethod
def from_json(cls, json):

    return cls(json['mapper_handler_spec'], json['mapper_input_reader'], json['mapper_params'], json['mapper_shard_count'])
