@ Public @ Path ( "/musics/list/json" ) public void showAllMusicsAsJSON ( ) { result . use ( json ( ) ) . from ( musicDao . listAll ( ) ) . serialize ( ) ; }
Show all list of registered musics in json format