Hi all,
while I was trying to jsonify an enum, I realized that the json writer uses
the value of the name property in order to serialize an enum (see
http://s.apache.org/Usi - row 286).
Although it looks like there was a general consensus on the use the name
properties (see http://s.apache.org/XRm), this looks wrong to me, since
name properties is final and there is no way to overwrite it.
The json writer should use instead toString method (which uses name by
default), such that the user can "customize" the value.
WDYT?


Twitter     :http://www.twitter.com/m_cucchiara
G+          :https://plus.google.com/107903711540963855921
Linkedin    :http://www.linkedin.com/in/mauriziocucchiara

Maurizio Cucchiara

Reply via email to