update to latest micro, optimize flatten

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2024-09-17 12:31:43 +03:00
parent 47feb209a4
commit 0476b2dd5c

View File

@ -258,3 +258,7 @@ func (c *jsonCodecV2) String() string {
func NewCodec(opts ...codec.Option) *jsonCodec { func NewCodec(opts ...codec.Option) *jsonCodec {
return &jsonCodec{opts: codec.NewOptions(opts...)} return &jsonCodec{opts: codec.NewOptions(opts...)}
} }
func NewCodecV2(opts ...codec.Option) *jsonCodecV2 {
return &jsonCodecV2{opts: codec.NewOptions(opts...)}
}