public XSS json ( final JsonEscapeType type , final JsonEscapeLevel level ) { this . jsonlevel = requireNonNull ( level , "Level required." ) ; this . jsontype = requireNonNull ( type , "Type required." ) ; return this ; }
Set JSON escape type and level .