- Sources: JEP 540, HN 49023809
- Summary: JEP 540 defines a small standard incubator API for parsing and generating JSON in the JDK without an external library. It supersedes JEP 198 (Light-Weight JSON API, 2014) and is delivered as an incubating module rather than a final or preview feature, so its package and shape can change before standardization. The target JDK release is not confirmed here.
- Why it matters: A built-in JSON API would remove a near-universal third-party dependency (Jackson, Gson) for basic parsing and generation across the JVM ecosystem.
- Follow-up: Confirm the target JDK release and whether the incubator API graduates or changes shape.
send feedback on this story