Skip to content

Category: Programming / Coding

JAX-RS: getting helpful Json-B error messages

Json-B (not JSONB!), short for Json Binding, is a modern MicroProfile Java standard to convert json documents (json messages) to a java class and vice versa.

This standard is supported by most modern java application containers. But because of a definition gap in the Jax-RS standard, it is not as easy as initially thought to get proper and helpful error messages if an invalid JSON document is encountered in the POST request body of an endpoint. The ExceptionMapper will only work after applying a few tricks.

Spigot Plugin Development: How I got started

Developing a spigot plugin is easy, if you have used the Java programming language before. So, do you love playing Minecraft as I do? Are you a developer? There is a good chance that you are already running spigot as your server, which supports plugins using their own API. If you would like to develop your own plugin, you might get lost — there is not much in the way of good tutorials. In this article, I will try to explain the basic components of spigot, how to set up your development environment and how to get started.

WP-JsonLD: WordPress-Plugin for schema.org-linked data

WP-JsonLD is a new plugin, which was written by me. It is available on Github at bmhm/wp-jsonld verfügbar and already contains a fully functional wordpress plugin. For short: It will include machine readable data using the format specification Json-LD into your WordPress HTML output.

This post will describe the internals of this plugin and why you might want to use it.