Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for fromJson (0.14 sec)

  1. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

            File file = new File(path);
            if (!file.exists()) {
                return Collections.emptyList();
            }
            try {
                return new Gson().fromJson(new FileReader(file), new TypeToken<List<UpgradedProperty>>() {}.getType());
            } catch (FileNotFoundException e) {
                throw new UncheckedIOException(e);
            }
        }
    
        /**
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 6.8K bytes
    - Viewed (0)
Back to top