Skip to content

API Interface

Past due by almost 3 years 0% complete

An API Interface creates a single entry point for all JSON module functionality

Some considerations:

JsonApi jsonApi = new JsonApi();

JsonObject obj = jsonApi.loadFile(Paths.get("/path/to/file"));
JsonArray values = jsonApi.select(obj, "jsonpath_expression");

This would simplify access to each of the components via the ServiceManager

An API Interface creates a single entry point for all JSON module functionality

Some considerations:

JsonApi jsonApi = new JsonApi();

JsonObject obj = jsonApi.loadFile(Paths.get("/path/to/file"));
JsonArray values = jsonApi.select(obj, "jsonpath_expression");

This would simplify access to each of the components via the ServiceManager

Loading