@@ -231,13 +231,7 @@ function unpackVariable(dfg::G,
231
231
232
232
smallData = JSON2. read (packedProps[" smallData" ], Dict{Symbol, SmallDataTypes})
233
233
234
- variableTypeString = if haskey (packedProps, " softtype" )
235
- # TODO Deprecate, remove in v0.12
236
- @warn " Packed field `softtype` is deprecated and replaced with `variableType`"
237
- packedProps[" softtype" ]
238
- else
239
- packedProps[" variableType" ]
240
- end
234
+ variableTypeString = packedProps[" variableType" ]
241
235
242
236
variableType = getTypeFromSerializationModule (variableTypeString)
243
237
isnothing (variableType) && error (" Cannot deserialize variableType '$variableTypeString ' in variable '$label '" )
@@ -267,23 +261,12 @@ function unpackVariable(dfg::G,
267
261
# Now rehydrate complete DataEntry type.
268
262
if unpackBigData
269
263
# TODO Deprecate - for backward compatibility between v0.8 and v0.9, remove in v0.10
270
- if haskey (packedProps, " bigDataElemType" )
271
- @warn " `bigDataElemType` is deprecate, please save data again with new version that uses `dataEntryType`"
272
- dataElemTypes = JSON2. read (packedProps[" bigDataElemType" ], Dict{Symbol, Symbol})
273
- else
274
- dataElemTypes = JSON2. read (packedProps[" dataEntryType" ], Dict{Symbol, Symbol})
275
- for (k,name) in dataElemTypes
276
- dataElemTypes[k] = Symbol (split (string (name), ' .' )[end ])
277
- end
264
+ dataElemTypes = JSON2. read (packedProps[" dataEntryType" ], Dict{Symbol, Symbol})
265
+ for (k,name) in dataElemTypes
266
+ dataElemTypes[k] = Symbol (split (string (name), ' .' )[end ])
278
267
end
279
268
280
- # TODO Deprecate - for backward compatibility between v0.8 and v0.9, remove in v0.10
281
- if haskey (packedProps, " bigData" )
282
- @warn " `bigData` is deprecate, please save data again with new version"
283
- dataIntermed = JSON2. read (packedProps[" bigData" ], Dict{Symbol, String})
284
- else
285
- dataIntermed = JSON2. read (packedProps[" dataEntry" ], Dict{Symbol, String})
286
- end
269
+ dataIntermed = JSON2. read (packedProps[" dataEntry" ], Dict{Symbol, String})
287
270
288
271
for (k,bdeInter) in dataIntermed
289
272
interm = JSON. parse (bdeInter)
0 commit comments