GOJAY(1)

✨ NAME ✨

gojay β€” fast JSON code generator in golang πŸ’–βš‘


🌸 DESCRIPTION 🌸

okay bestie so gojay is a code generator, right? like it writes Go code for you so your JSON handling is fast fast. no cap. πŸƒβ™€οΈπŸ’¨

and the way you actually run it is through the binary, and here's literally every knob it's got:

πŸŽ€ Usage of bin/gojay:

  • -a string β€” annotation tag (default json) (default "json")
  • -o string β€” destination file to output generated code
  • -p string β€” generate code to reuse objects using sync.Pool
  • -pkg string β€” the package name of the generated file
  • -s string β€” source dir or file (absolute or relative path)
  • -t string β€” types to generate
πŸ’… that's it, that's the whole list. every flag, every default, nothing hidden, nothing extra. iykyk.

and that's a wrap, my love 🫢 this page is from the gojay manual, version 1.2.13-5build1, dated August 2023 β€” go forth and generate some iconic code, you absolute main character πŸ‘‘βœ¨

πŸ“¦ where this page comes from