mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +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:
parent
df170c8af0
commit
2bafcd3422
25 changed files with 188 additions and 430 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue