Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 4.0-milestone-1
-
Fix Version/s: 4.0-milestone-2
-
Component/s: Velocity
-
Labels:None
-
Similar issues:
XCOMMONS-119Add velocity Collections tool to be able to create various types of collections XCOMMONS-129 Add a tool or a method to an existing tool so that you can convert an Array to a List in Velocity XCOMMONS-130Upgrade to Json-lib 2.4 XCOMMONS-145Add new Verify and Format Mojos in XAR plugin XCOMMONS-14Add DOM creating, parsing, transforming and serializing APIs in the XMLUtils class XCOMMONS-311Upgrade to Selenium 2.28 XCOMMONS-280Add support for default JAVA proxy support for Maven based repositories XCOMMONS-161Add tool to convert SAX events into nodes XCOMMONS-353Exclude more java classes from the Checkstyle Class Fan Out Complexity check XCOMMONS-356Upgrade to Maven Assembly plugin v2.4
Description
Usage:
#set($array = [1, 2, 3])
$jsontool.serialize($array)
#set($map = {'enabled': true, 'color': 'yellow', 'count': 13})
$jsontool.serialize($map)
but it should work with almost any Java object.
Activity
Marius Dumitru Florea
15/Mar/12 18:10
View full commit
XCOMMONS-130: Upgrade to Json-lib 2.4
XCOMMONS-131: Add a Velocity tool to serialize Java objects to JSON format
Marius Dumitru Florea
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Status | Open [ 1 ] | Closed [ 6 ] |
| Assignee | Marius Dumitru Florea [ mflorea ] | |
| Fix Version/s | 4.0-milestone-2 [ 12949 ] | |
| Resolution | Fixed [ 1 ] |