question: public static void writeJsonToPath ( GenericKeyczar input , String path ) { try { FileOutputStream output = new FileOutputStream ( path ) ; BufferedWriter writer = new BufferedWriter ( new OutputStreamWriter ( output , "UTF-8" ) ) ; JsonWriter . write ( input , writer ) ; writer . close ( ) ; } catch ( IOException e ) { throw new RuntimeException ( e ) ; } }
target:  Writes input to a JSON file at path. 