Hydrolyzes chitosan and chitooligosaccharides with retention of anomeric configuration (By similarity). Hydrolysis of chitosan or chitosan oligosaccharides to remove successive D-glucosamine residues from the non-reducing termini. Monomer. Belongs to the glycosyl hydrolase 2 family.