import NotImplementedException from "./Exception/NotImplementedException";
export default class SerializableObject {
    constructor() { }
    toJSON() {
        throw new NotImplementedException();
    }
    static fromJSON(_json) {
        throw new NotImplementedException();
    }
    fromJSON(json) {
        return SerializableObject.fromJSON(json);
    }
}
//# sourceMappingURL=SerializableObject.js.map