public String getSearchJsonModel ( ) throws IOException { DbSearch search = new DbSearch ( ) ; search . setArtifacts ( new ArrayList <> ( ) ) ; search . setModules ( new ArrayList <> ( ) ) ; return JsonUtils . serialize ( search ) ; }
Returns an empty Search object in Json