UNPKG

node-web-mvc

Version:
15 lines (14 loc) 669 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const Target_1 = __importDefault(require("../servlets/annotations/Target")); const ElementType_1 = __importDefault(require("../servlets/annotations/annotation/ElementType")); class JsonFormat { } /** * 标记指定的类或者指定字段或者指定参数 * 在序列化或者反序列化时格式 */ exports.default = (0, Target_1.default)([ElementType_1.default.TYPE, ElementType_1.default.PROPERTY, ElementType_1.default.PARAMETER])(JsonFormat);