-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
writeObject 判断类型要更灵活 #39
Comments
看不懂? |
有人这样写。。 |
呃。。。打他 pp |
不能兼容这种。。。要不然代码不堪设想啊 |
当 java 写。。 |
这人是我,不要打我。。 |
哈哈 |
呃,那Map的序列化是怎样实现的? |
主要是 function Map(options) {
this.a = options.a;
this.b = options.b;
}
Map.prototype.fn = function() {}; |
提 pr 吧,直接看代码 |
请问没有做枚举类型的序列化吗? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
可能是一个 Function 的示例
https://github.com/node-modules/hessian.js/blob/master/lib/v1/encoder.js#L30
The text was updated successfully, but these errors were encountered: