summaryrefslogtreecommitdiffstats
path: root/platform/android/export/export_plugin.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-10-11 09:27:53 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-10-11 09:27:53 +0200
commit6d9d220d64cc87a9b2f59292eafafe6834dfdfc3 (patch)
treea6b4eaa695178a808b10e81b6c9b4b7fe54f68eb /platform/android/export/export_plugin.cpp
parent422c3989628e4d60046385865674eca633d65be7 (diff)
parentfe56c1ff757d34747e6db07917b707534f09fe3a (diff)
downloadredot-engine-6d9d220d64cc87a9b2f59292eafafe6834dfdfc3.tar.gz
Merge pull request #67224 from Mickeon/jason
Use `JSON::stringify` where possible
Diffstat (limited to 'platform/android/export/export_plugin.cpp')
-rw-r--r--platform/android/export/export_plugin.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/platform/android/export/export_plugin.cpp b/platform/android/export/export_plugin.cpp
index 366bd1c48c..ef3b79b630 100644
--- a/platform/android/export/export_plugin.cpp
+++ b/platform/android/export/export_plugin.cpp
@@ -2639,8 +2639,7 @@ Error EditorExportPlatformAndroid::export_project_helper(const Ref<EditorExportP
}
if (user_data.libs.size() > 0) {
Ref<FileAccess> fa = FileAccess::open(GDNATIVE_LIBS_PATH, FileAccess::WRITE);
- JSON json;
- fa->store_string(json.stringify(user_data.libs, "\t"));
+ fa->store_string(JSON::stringify(user_data.libs, "\t"));
}
} else {
print_verbose("Saving apk expansion file..");