Scenario:
type C struct {
A bool `js:"a"`
B bool `js:"b"`
}
c := C{A: true, B: false}
s := m.Call("method", c)
Right now when I run my code I see the following being created:
{ A: true, B: false }
but would like to see
{ a: true, b: false }
How does one do this? Sorry if this is meant to be obvious.