Show HN: SJF4J – Treat Java Objects as JSON
Category: library
Tags: json, java, data-binding, jsonpath, json-schema, annotation-processor
Score: 6.5/10 (Innovation: 5, Technical: 7, Documentation: 8, Utility: 6)
SJF4J provides a unified JSON-processing layer that allows JSONPath, JSON Pointer, JSON Patch, and JSON Schema operations directly on Java POJOs without intermediate JSON trees. It supports multiple backends (Jackson, Gson, Fastjson2, JSON-P, SnakeYAML) behind one API and offers compile-time code generation for binding, navigation, validation, mapping, and JDBC result mapping. The project is well-documented and standards-compliant, though the core idea is an incremental combination of existing JSON standards applied to Java object graphs.
Target audience: backend Java developers
Repository: https://github.com/sjf4j-projects/sjf4j · Java · MIT · 10 stars
View on Hacker News