github classgraph/classgraph fast-classpath-scanner-3.1.0
fast-classpth-scanner-3.1.0

latest releases: classgraph-4.8.172, classgraph-4.8.171, classgraph-4.8.170...
5 years ago

Adds support for serialization of a ScanResult to JSON, and deserialization from JSON back to a ScanResult, for build-time scanning. Uses a built-in, custom optimized JSON serializer and parser, with full support for generic types. Just do the following:

// To serialize a ScanResult:
String jsonStr = scanResult.toJSON(); // or .toJSON(indentWidth) to prettyprint/indent the JSON

// To deserialize a ScanResult:
ScanResult scanResult = ScanResult.fromJSON(jsonStr);

Don't miss a new classgraph release

NewReleases is sending notifications on new releases.