toJSON() returns the JSON representation of this
node.
toJSON
toJSON() - returns the JSON representation of this node.
Long-form QNames are used in the result.
Returns
Returns the JSON representation of this node.
toJSON
toJSON(boolean useShortQNames) - returns the JSON
representation of this node. Short-form QNames are used in the
result.
Parameters
- boolean useShortQNames
- If true, short-form QNames will be returned, else long-form QNames will be returned.
Returns
Returns the JSON representation of this node.