modules/jooby-unbescape/src/main/java/org/jooby/unbescape/XSS.java
public XSS json(final JsonEscapeType type, final JsonEscapeLevel level) {
    this.jsonlevel = requireNonNull(level, "Level required.");
    this.jsontype = requireNonNull(type, "Type required.");
    return this;
  }
public XSS json(final JsonEscapeType type, final JsonEscapeLevel level) {
    this.jsonlevel = requireNonNull(level, "Level required.");
    this.jsontype = requireNonNull(type, "Type required.");
    return this;
  }
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.

@param type Type.
@param level Level.
@return This module.
Set JSON escape type and level .