Class Json
java.lang.Object
org.vaadin.addons.velocitycomponent.Json
A trivial helper class for JS components to render
Java DTOs as JSON. Exposed to Velocity templates via
VelocityComponentDecorator.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Json
public Json()
-
-
Method Details
-
of
- Parameters:
o- the object to render as JSON- Returns:
- the JSON representation of the object
-