public static JSONObject loadJSONAsset ( Context context , final String asset ) { if ( asset == null ) { return new JSONObject ( ) ; } return getJsonObject ( org . gearvrf . widgetlib . main . Utility . readTextFile ( context , asset ) ) ; }
Load a JSON file from the application s asset directory .