@JSONName annotation [message #1004061] |
Tue, 22 January 2013 09:08  |
Eclipse User |
|
|
|
I've just converted some of my projects from EDT 0.8.1 over to EDT 0.8.2 and on the whole this was a pretty painless exercise on my small scale projects; mostly a case of changing class to cssClass (on my widgets) and then selecting the Organise Imports option within the source editor.
There was one additional step that I needed to perform on one of my record declarations and that was because of a change to the JSONName annotation implementation.
In EDT 0.8.1 I had ...
OpenPrice float {JSONName = "Open"};
For EDT 0.8.2 I had to change the line to this ...
OpenPrice float { @JSONName { "Open" } };
This got me thinking (a rare occurrence these days) ... what are annotations? how should I use them and can I create my own?
They look like a method of assigning additional properties to parts but does anyone know of any documentation that will give me an overview of the topic.
Richard
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.09031 seconds