Function extract_plugin_json

Source
pub fn extract_plugin_json<P: AsRef<Path>>(path: P) -> Result<String>
Expand description

Convenience function to extract and parse the plugin.json file from an .obby archive

This function opens the .obby file, extracts the plugin.json entry, and returns the contents of the file as a String.

ยงArguments

  • path - Path to the .obby file.