Java library for transforming beans, maps, collections, Java arrays and XML to JSON.
<dependency>
<groupId>net.sf.json-lib</groupId>
<artifactId>json-lib</artifactId>
<version>2.2.2</version>
</dependency>No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a JSONObject and converts it to a JSON string.
Migrate to a modern JSON library like Jackson (com.fasterxml.jackson) or Gson (com.google.gson).
No dependency data recorded yet.