Issue: Complete error message format consistency
Location: json-java21-jtd/src/main/java/json/java21/jtd/Jtd.java
Current Status: ✅ COMPLETED
Changes Made:
- MISSING_REQUIRED_PROPERTY: 'missing required property: %s' → 'missing required property: '%s''
- ADDITIONAL_PROPERTY_NOT_ALLOWED: 'additional property not allowed: %s' → 'additional property not allowed: '%s''
Pattern Established:
- User-provided string values (type names, property names, enum values, discriminator values) get single quotes
- JSON class names (JsonNumber, JsonString, etc.) and type keywords (boolean, string, etc.) do NOT get quotes
- This matches the existing pattern used by VALUE_NOT_IN_ENUM, DISCRIMINATOR_MUST_BE_STRING, etc.
Result:
✅ All tests pass. Error message format is now consistent across the codebase.
This issue is now resolved.