Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: Release 1.5.1
-
Fix Version/s: Release 1.5.2, Release 1.6
-
Component/s: None
-
Labels:None
Description
Alsongside the already existing Java primitive types, also Character should be considered as a scalar type in net.sourceforge.stripes.ajax.JavaScriptBuilder.
Right now, (Release 1.5.1) character fields in a Java-object are treated as objects (non scalars) which results in an unusable output in the JSON representation.
Instead they should be treated just like the other scalar values, croncetely the string value of the character should be enclosed in single quotes in the JSON object.
Fixed in revision 1148. Please test! Thanks.