func (j *OffsetTable) UnmarshalJSON(input []byte) error {
	fs := fflib.NewFFLexer(input)
	return j.UnmarshalJSONFFLexer(fs, fflib.FFParse_map_start)
}
UnmarshalJSON umarshall json - template of ffjson
package server
import (
	"bytes"
	"fmt"
	fflib "github.com/pquerna/ffjson/fflib/v1"
)
func (j *OffsetTable) 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
}
func (j *OffsetTable) MarshalJSONBuf(buf fflib.EncodingBuffer) error {
	if j == nil {
		buf.WriteString("null")
		return nil
	}
	var err error
	var obj []byte
	_ = obj
	_ = err
	buf.WriteString(`{"offsets":`)
	err = buf.Encode(j.Offsets)
	if err != nil {
		return err
	}
	buf.WriteByte('}')
	return nil
}
const (
	ffjtOffsetTablebase = iota
	ffjtOffsetTablenosuchkey
	ffjtOffsetTableOffsets
)
var ffjKeyOffsetTableOffsets = []byte("offsets")