users@jsonb-spec.java.net

[jsonb-spec users] [jsr367-experts] [17-Customizing names]

From: Martin Vojtek <voytoo_at_gmail.com>
Date: Wed, 29 Apr 2015 17:36:26 +0200

Hi Experts,

I have pushed proposal regarding Customizing names.

Short summary:

introduce annotation and enum with most common naming policies.

1. use of javax.json.bind.annotation.JsonbProperty
2. using javax.json.bind.config.PropertyNamingPolicy

JsonbProperty annotation is applicable to Field, getter or setter.

PropertyNamingPolicy enum contains several different policies like
IDENTITY, CASE_INSENSITIVE, LOWER_CASE_WITH_UNDERSCORE ...

Details could be found in specification and in code (api + examples).

MartinV