import { MixinConstructor } from "./Mixin"; /** * A helper mixin for JSON serialization. * @mixin JSONAble */ export default function (Base: Class): { new (...args: any[]): { _jsonType?: string; /** * 返回该类的JSON type * @english * Get object's JSON Type */ getJSONType(): string; }; /** * 静态方法,用于将该类注册用于JSON序列化与反序列化 * * @english * It is a static method.
* Register class for JSON serialization and assign a JSON type. * @param type - JSON type */ registerJSONType(type: string): void; /** * 静态方法,返回type对应的注册类 * @english * It is a static method.
* Get class of input JSON type * @param type - JSON type */ getJSONClass(type: string): Class | null; } & Class; //# sourceMappingURL=JSONAble.d.ts.map