EASYJSON(1)

πŸ“¦
version 0.9.1 Β· 2 versions
, in ubuntu stonking

πŸ’– EASYJSON πŸ’–

okay bestie, lemme put you on. easyjson is the fast JSON serializer for Go, and it's literally here to make your structs go brrr. this is the easyjson(1) situation, User Commands section, and we're gonna walk through it together 🫢


✨ NAME ✨

easyjson β€” Fast JSON serializer for Go πŸ’…


🌸 DESCRIPTION 🌸

here's the whole deal, no gatekeeping. this is the usage of that one binary that lives deep in the build dir:

/build/golang-github-mailru-easyjson-58I1Wy/golang-github-mailru-easyjson-0.9.1/debian/tmp/usr/bin/easyjson

and here's every flag it takes, one by one, including the ones with a string value that you actually gotta fill in. don't skip any, i know you won't πŸ”₯

  • -all β€” generate marshalers/unmarshalers for all the structs in a file, not just the ones you hand-picked. go big or go home ✨
  • -build_tags string β€” the build tags you wanna slap onto the generated file. yes, you gotta give it a string, it's not a vibe-only flag.
  • -byte β€” use plain simple bytes instead of Base64Bytes for a slice of bytes. lowkey a nice one.
  • -disable_members_unescape β€” don't do the unescaping of member names, which is literally there to improve performance. speed ✨
  • -disallow_unknown_fields β€” return an error if any unknown field shows up in the json. strict gf energy, she does NOT tolerate strangers πŸ™ˆ
  • -gen_build_flags string β€” build flags to use when running the generator while bootstrapping. again: string, bestie, you gotta pass one.
  • -leave_temps β€” do not delete the temporary files. they stay. they live here now 😭
  • -lower_camel_case β€” use lowerCamelCase names instead of CamelCase by default. aesthetic choice, iconic
  • -no_std_marshalers β€” don't generate MarshalJSON/UnmarshalJSON funcs. none. zero. zip. πŸ’€
  • -noformat β€” do not run gofmt -w on the output file. your formatting, your problem πŸŽ€
  • -omit_empty β€” omit empty fields by default. minimalism is a lifestyle 🌸
  • -output_filename string β€” specify the filename of the output. one string, one destiny.
  • -pkg β€” process the whole package instead of just the given file. main character energy for the entire package πŸ‘‘
  • -snake_case β€” use snake_case names instead of CamelCase by default. python girlies found shaking
  • -stubs β€” only generate stubs for the marshaler/unmarshaler funcs. skeleton crew, but make it fashion πŸ¦‹
  • -version β€” print version and exit. the classic "who even are you" move πŸ’œ
⚠️ quick vibe check: these flags are listed here exactly as the binary prints them, so copy them character for character when you use them. no improvising on the spelling, i'm begging 🫢

and that's the whole page, periodt πŸ’– this was easyjson(1) from the User Commands crew β€” easyjson 0.9.1-2, dated July 2026. go serialize something pretty, bestie, you're literally gonna slay πŸŒˆπŸŽ€βœ¨

πŸ“¦ where this page comes from