@Retention(value=CLASS)
@Target(value=METHOD)
public @interface JsonView
Mark a command method return value shall be displayed as a JSON object. e.g
[ { “ID”: “act_app_stop“, ”onetime“: true, ”trigger“: null }, { ”id“: ”act_app_app_act_plugin_loaded”, “onetime”: true, “trigger”: null } ]
JsonView
can be used in conjunction with PropertySpec
to export only specified fields
TableView
,
PropertySpec
Copyright © 2014–2017 ActFramework. All rights reserved.