func (j *SmallPayloadFFJson) MarshalJSONBuf(buf fflib.EncodingBuffer) error {
	if j == nil {
		buf.WriteString("null")
		return nil
	}
	var err error
	var obj []byte
	_ = obj
	_ = err
	buf.WriteString(`{"St":`)
	fflib.FormatBits2(buf, uint64(j.St), 10, j.St < 0)
	buf.WriteString(`,"Sid":`)
	fflib.FormatBits2(buf, uint64(j.Sid), 10, j.Sid < 0)
	buf.WriteString(`,"Tt":`)
	fflib.WriteJsonString(buf, string(j.Tt))
	buf.WriteString(`,"Gr":`)
	fflib.FormatBits2(buf, uint64(j.Gr), 10, j.Gr < 0)
	buf.WriteString(`,"Uuid":`)
	fflib.WriteJsonString(buf, string(j.Uuid))
	buf.WriteString(`,"Ip":`)
	fflib.WriteJsonString(buf, string(j.Ip))
	buf.WriteString(`,"Ua":`)
	fflib.WriteJsonString(buf, string(j.Ua))
	buf.WriteString(`,"Tz":`)
	fflib.FormatBits2(buf, uint64(j.Tz), 10, j.Tz < 0)
	buf.WriteString(`,"V":`)
	fflib.FormatBits2(buf, uint64(j.V), 10, j.V < 0)
	buf.WriteByte('}')
	return nil
}
MarshalJSONBuf marshal buff to json - template
package benchmark
import (
	"bytes"
	"fmt"
	fflib "github.com/pquerna/ffjson/fflib/v1"
)
func (j *SmallPayloadFFJson) MarshalJSON() ([]byte, error) {
	var buf fflib.Buffer
	if j == nil {
		buf.WriteString("null")
		return buf.Bytes(), nil
	}
	err := j.MarshalJSONBuf(&buf)
	if err != nil {
		return nil, err
	}
	return buf.Bytes(), nil
}