JSON Semantics, Java Objects
Apply JSONPath, JSON Pointer, JSON Patch, and JSON Schema directly to POJOs, Maps, Lists, and domain models — no intermediate JSON trees required.
Java 8+ Open Source
Treat Java Objects Like JSON
A unified structural processing layer built on JSON semantics.
Apply JSONPath, JSON Pointer, JSON Patch, and JSON Schema directly to POJOs, Maps, Lists, and domain models — no intermediate JSON trees required.
Work seamlessly across JSON backends (Jackson 2.x/3.x, Gson, Fastjson2, JSON-P), YAML (SnakeYAML), and other formats — all through a unified API.
Enjoy flexible runtime APIs and highly optimized compile-time code generation — explore features and performance.
Work directly with Java objects using flexible Runtime APIs and optimized Compiled APIs.
Unified data binding across JSON, YAML, and Java Properties, supporting POJOs, Maps, Lists, generic types, and custom value types.
public class User {
public String name;
public int age;
public Address address;
}
public class Address {
public String city;
}
Sjf4j sjf4j = Sjf4j.builder().build();
User user = sjf4j.fromJson(json, User.class);
String json2 = sjf4j.toJsonString(user);@CompiledBinder
interface UserBinder {
@Read User fromJson(String json);
@Write String toJson(User user);
}
UserBinder binder = CompiledInstances.create(UserBinder.class);
User user = binder.fromJson(json);
String json2 = binder.toJson(user);SJF4J's open streaming architecture supports custom data formats and backends. Its rich binding capabilities include @OneOf polymorphism, multi-format ValueCodec support, and fully managed ExternalNode integration.
Selected, workload-specific speedups, not a cross-category ranking. The comparison baseline is different in each case; see the charts and linked reports for details.
Use compiled SJF4J APIs as Spring-managed beans — no manual instantiation or component annotations required.
@CompiledMapper
public interface UserMapper {
UserDto toDto(User user);
}@Service
public class UserService {
@Autowired
private UserMapper mapper;
public UserDto convert(User user) {
return mapper.toDto(user);
}
}Automatic bean registration Compile-time generated implementations Standard Spring dependency injection