Returns a JSON object from a Bean element.
1 json.bean2json
<json.bean2json>
<bean /> !
</json.bean2json>
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Ebean | Object Bean. |
Returns | |
---|---|
Type | Description |
JsonObject | Returns the JSON object from the entry Bean. |
Example
Copy
<xsql-script name='test_json_bean2json'> <body> </body> </xsql-script>