Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/26/19 13:27:23 (4 years ago)
Author:
dpiringe
Message:

#3026:

  • added new Converters:
    • CheckedItemListConverter
    • ItemCollectionConverter
    • PrimitiveConverter: not implemented yet
    • ConfigurableConverter: maybe this converter can replace all others
  • added program for testing -> HeuristicLab.ConfigStarter
  • added the option to register converter with an attic guid
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface/JsonItem.cs

    r17354 r17371  
    133133    public static JsonItem BuildJsonItem(JObject obj, IDictionary<string, string> typeList) {
    134134      object val = obj[nameof(Value)]?.ToObject<object>();
    135       if (val is JContainer)
    136         val = ((JContainer)val).ToObject<object[]>();
     135      if (val is JContainer) {
     136        //try {
     137          val = ((JContainer)val).ToObject<object[]>();
     138        /*} catch (Exception) { }
     139        try {
     140          val = ((JContainer)val).ToObject<object[,]>();
     141        } catch (Exception) { }*/
     142      }
     143       
    137144
    138145      return new JsonItem() {
Note: See TracChangeset for help on using the changeset viewer.