Known Direct Subclasses
DiagnosticJsonRenderer |
A diagnostic version of the JsonRenderer that includes the block name in the
generated JSON. |
|
Class Overview
This class is used to render the contents of a Block in
JavaScript Object Notation (JSON) format.
Summary
Public Constructors |
|
JsonRenderer()
Default no-args constructor.
|
Constants
public
static
final
String
PROPERTY_ANNOTATION_EXPRESSION
Constant Value:
"expression"
public
static
final
String
PROPERTY_ANNOTATION_GROUP
Public Constructors
public
JsonRenderer
()
Default no-args constructor.
Public Methods
Construct a JSON Generator Tree from the Block tree.
Parameters
block |
The Block tree to convert into a JSON Generator. |
bContext |
The BlockContext which defines how dynamic Block
property values are computed. |
Protected Methods
protected
Comparator<BlockProperty>
getBlockPropertyComparator
()