Uploaded image for project: 'Multicloud'
  1. Multicloud
  2. MULTICLOUD-643

gson parse issue for the list of VF_MODULE_ARTIFACT

XMLWordPrintable

      there is an issue while parse the list of a VF_MODULE_ARTIFACT, it should use below logic:
      Type listType = new TypeToken<ArrayList<YourClass>>(){}.getType();
      List<YourClass> yourClassList = new Gson().fromJson(jsonArray, listType);

            libonet libonet
            libonet libonet
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: