1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-10 13:00:37 +00:00

Use JSON::stringify where possible

This commit is contained in:
Micky
2022-10-11 00:27:23 +02:00
parent 28f642097a
commit fe56c1ff75
5 changed files with 5 additions and 9 deletions

View File

@@ -1932,8 +1932,7 @@ String Variant::stringify(int recursion_count) const {
}
String Variant::to_json_string() const {
JSON json;
return json.stringify(*this);
return JSON::stringify(*this);
}
Variant::operator Vector2() const {