Menu

Maslosoft Mangan Logo Maslosoft Mangan Documentation
MongoDB Object Persister

Edit

Sanitizer Array

Sanitizer array works exactly like @Sanitizer annotation, except that it will enforce arrays of specified type.

For example place this annotation on property to enforce array of integers:

@SanitizerArray(IntegerSanitizer)

Read more about data sanitization