summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorMicky <micheledevita2@gmail.com>2022-10-11 00:27:23 +0200
committerMicky <micheledevita2@gmail.com>2022-10-11 00:27:23 +0200
commitfe56c1ff757d34747e6db07917b707534f09fe3a (patch)
tree3bcfae3e4ea6ece4476e3438646b905cc28fdfa1 /platform
parent28f642097a7986867e4fb7d697764efb4db753bf (diff)
Use `JSON::stringify` where possible
Diffstat (limited to 'platform')
-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..");