Changeset 17477 for branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface/Converters/ValueLookupParameterConverter.cs
- Timestamp:
- 03/17/20 12:33:35 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface/Converters/ValueLookupParameterConverter.cs
r17473 r17477 15 15 IValueLookupJsonItem lookupItem = data as IValueLookupJsonItem; 16 16 param.ActualName = lookupItem.ActualName; 17 if (param.Value != null )18 root.Inject(param.Value, lookupItem. JsonItemReference, root);17 if (param.Value != null && lookupItem.ActualValue != null) 18 root.Inject(param.Value, lookupItem.ActualValue, root); 19 19 } 20 20 … … 26 26 if (param.Value != null) { 27 27 IJsonItem tmp = root.Extract(param.Value, root); 28 item.AddChildren(tmp.Children); 29 item.JsonItemReference = tmp; 28 tmp.Parent = item; 29 //item.AddChildren(tmp.Children); 30 item.ActualValue = tmp; 30 31 } 31 32 item.Name = param.Name;
Note: See TracChangeset
for help on using the changeset viewer.