XML itself is complex and this how JSON gained popularity. Millions of users now use JSON based authentication protocols on social websites instead of XML based ones. Obviously, the day must have arrived where someone just had to come up with an idea to create an equivalent of XML-Enc and XML-DSig for JSON. Enter JOSE…
On the one hand, it’s much simpler than respective XML standards. On the other hand, it seems to follow the good old tradition of inventing its own weird naming conventions. In case of JOSE, the creators decided to distinguish their project from others by weird field names, which in most cases is implemented by truncating them to 3 characters. So instead of calling a field “type” they call it “typ”. And field containing URL to public keys, named “JWK Set URL” is conveniently abbreviated as “jku”.
Happy reading resulting JSON files — but if you wanted to save space (why at all?) maybe you should try PER (X.691) encoding instead?