You've already forked godot
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user