Skip to content

Commit e0d516f

Browse files
committed
Update: Improved memory footprint for JSONValue
1 parent b43286a commit e0d516f

File tree

2 files changed

+133
-83
lines changed

2 files changed

+133
-83
lines changed

dub_sdl_to_json/source/dub_sdl_to_json.d

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,11 +191,11 @@ JSONValue sdlToJSON(SDLNode[] sdl)
191191
}
192192
// ret[v.name] = v.values[0]
193193
}
194-
if(dependencies.data.object.value !is null)
194+
if(dependencies.data.object !is null)
195195
ret["dependencies"] = dependencies;
196-
if(subConfigurations.data.object.value !is null)
196+
if(subConfigurations.data.object !is null)
197197
ret["subConfigurations"] = subConfigurations;
198-
if(buildTypes.data.object.value !is null)
198+
if(buildTypes.data.object !is null)
199199
ret["buildTypes"] = buildTypes;
200200

201201
if(configurations.array.length != 0)

0 commit comments

Comments
 (0)