private void writeResources ( ) throws IOException { writeAttributeTypes ( "resource_types" , ResourceField . values ( ) ) ; m_writer . writeStartList ( "resources" ) ; for ( Resource resource : m_projectFile . getResources ( ) ) { writeFields ( null , resource , ResourceField . values ( ) ) ; } m_writer . writeEndList ( ) ; }
This method writes resource data to a JSON file .