Open juliens opened 10 months ago
I need to have any
in the context where I don't know the real struct behind the data. In this context, I think that we were using map[string]interface{}
but with this, it's not possible to put a string directly in this field.
To seperate any
and real interface
, may be I can use NumMethod
?
This PR handles field any as RawValue.
it means that if you have for example something like
and you try to handle it with a struct like
This will do something like this: