easyjson icon indicating copy to clipboard operation
easyjson copied to clipboard

Fast JSON serializer for golang.

Results 93 easyjson issues
Sort by recently updated
recently updated
newest added

Earlier, it was not possible to pass build tags to generator while not including them in generated files. "-tags" flag inside "-gen_build_flags" was ignored, as it was being overridden with...

Since Mail.ru is owned by VK, which is owned by Gazprom Media, and thus is subject to EU and [USA Sanctions](https://sanctionssearch.ofac.treas.gov/Details.aspx?id=20296) what does that mean about the status of this...

u/int64 in json will be always string due to old json standard with uint32 limit. Native json parser will not handle unmarshaling a string uint64 onto uint64 field. Easyjson has...

See https://pkg.go.dev/encoding/json#Unmarshaler: > UnmarshalJSON must copy the JSON data if it wishes to retain the data after returning. This appears to be the cause of a bug reported on pgx:...

We are looking to handle polymorphic responses and for that we are using an Interface "IEvent" as a marker for this type. When easyjson generates unmarshaling and marshaling code for...

I have a structure that have a field `Id int` but incoming JSON has `"Id": "1"`. Is it possible to have a tag that will convert automatically such invalid field...

There is a code: ``` type Register struct { Login string `json:"login,required"` } ``` After execute `go vet -vettool=$$(which statictest) ./...` appears error `unknown JSON option "required"` May be added...

В данный момент, если мы попытаемся замаршалить что-то такое, без кастомных маршаллеров ``` test := example.ExampleStruct{ ExampleMap: map[example.ExampleKey]string{ "": "val1", "key2": "val2", }, } ``` то получим `{"example_map":{"":"val1","key2":"val2"}}` Если в...