You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Consolidate JSON, JSONParseResults and JSONParser into JSON
Renames JSON.parse_string() to parse() Renames JSON.decode_data() to stringify()
This commit is contained in:
@@ -1098,11 +1098,9 @@ void EditorAssetLibrary::_http_request_completed(int p_status, int p_code, const
|
||||
|
||||
Dictionary d;
|
||||
{
|
||||
Variant js;
|
||||
String errs;
|
||||
int errl;
|
||||
JSON::parse(str, js, errs, errl);
|
||||
d = js;
|
||||
JSON json;
|
||||
json.parse(str);
|
||||
d = json.get_data();
|
||||
}
|
||||
|
||||
RequestType requested = requesting;
|
||||
|
||||
Reference in New Issue
Block a user