JEP 540: Simple JSON API (Incubator)
Summary
JEP 540 proposes a simple, standard JSON API for the Java Platform (incubator module) to parse and generate RFC 8259-compliant JSON without external libraries. It outlines a DOM-like API with JsonValue and subtypes, navigation and conversion methods, error handling, optional/null handling, and practical examples. The article also covers testing during incubation and how to enable the incubator module with --add-modules jdk.incubator.json.