-
-
Notifications
You must be signed in to change notification settings - Fork 139
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
Conversion from Lua table to JSON fails because of gluamapper #107
Comments
I have read the code , and I find : // Convert the Lua table to a map that can be used when converting to JSON (map[string]interface{})
mapinterface := gluamapper.ToGoValue(table, gluamapper.Option{
NameFunc: func(s string) string {
return s
},
}) NOTICE that: |
By the way, revert |
Thanks for reporting, I'm able to reproduce the issue. |
Thanks! Reverting 86c3a7c and applying the patch worked. However, I already had a fork of gluamapper + gopher-lua that had the suggested changes, so I just switched (back) to those. They were removed some time ago because I mistakenly thought that they were no longer needed. These two now works again, in
Thanks for reporting and patching! |
Good suggestion. This should be feasable, either with |
In Algernon's REPL:
#106
The text was updated successfully, but these errors were encountered: