this question gets asked quite frequently, don't do it you will have flat beer that O2 can get at. Use the mason jars as glasses if you want that effect.
Don't even try. My first brew attempt several years back with no education and a Mr. Beer kit was bottled in mason jars. Needless to say it did not work. I now feel quite idiotic for even trying it.