Skip to content
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

value export object #430

Open
dddxiu opened this issue Mar 12, 2022 · 1 comment
Open

value export object #430

dddxiu opened this issue Mar 12, 2022 · 1 comment

Comments

@dddxiu
Copy link

dddxiu commented Mar 12, 2022

when value.kind == object, call export method.the undefined value will ignore
value.go

object.enumerate(false, func(name string) bool {
        value := object.get(name)
        if value.IsDefined() {
	        result[name] = value.export()
        }
        return true
})

=>

object.enumerate(false, func(name string) bool {
        value := object.get(name)
        result[name] = value.export()
        return true
})

can be ?

@dddxiu dddxiu changed the title expott value export object Mar 12, 2022
@stevenh
Copy link
Collaborator

stevenh commented Nov 25, 2022

I'm sorry I don't understand what you're trying to ask here, could you create a go test which shows the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants