github.com/abusomani/jsonhandlers

jsonhandlers

JSON library to expose simple handlers that lets you easily read and write json from various sources.

42

Decision Signals

Health score 42/100, confidence 80/100.

Caution
Maintenance 15
Adoption 7
Security 92
Maturity 62
Developer DX 83
Confidence 80

Install

go get github.com/abusomani/jsonhandlers

Package Data

updated May 28, 2026
Latest versionv1.1.0
Imported by0 packages
Stars0
Forks0
Last activity3 years ago
Latest releaseUnknown
LicenseUnknown
Known vuln records0

API Surface

10 symbols
SymbolKindSynopsis
JSONHandler Type type JSONHandler struct{}
JSONHandler.Marshal Method func (jh *JSONHandler) Marshal(v any) error
JSONHandler.SetOptions Method func (jh *JSONHandler) SetOptions(opts ...Option) *JSONHandler
JSONHandler.Unmarshal Method func (jh *JSONHandler) Unmarshal(v any) error
New Function func New(opts ...Option) *JSONHandler
Option Type type Option func(*JSONHandler)
WithDefaults Function func WithDefaults() Option
WithFileHandler Function func WithFileHandler(fileName string) Option
WithHTTPRequestHandler Function func WithHTTPRequestHandler(rw http.ResponseWriter, req *http.Request) Option
WithHTTPResponseHandler Function func WithHTTPResponseHandler(res *http.Response) Option

Maintained Alternatives

limited recent repository activity

#1 GJSON

Package gjson provides searching for json strings.

Go JSON Libraries 15.5K stars 10.4K imported-by 100% confidence
94

#2 fastjson

Package fastjson provides fast JSON parsing.

Go JSON Libraries 0 stars 895 imported-by 80% confidence
73

#3 codec

Package codec provides a High Performance, Feature-Rich Idiomatic Go codec/encoding library for binc, msgpack, cbor, json.

Go JSON Libraries 0 stars 0 imported-by 55% confidence
50

#4 go-json

Go JSON Libraries 0 stars 0 imported-by 20% confidence
41

Similar Packages

Go JSON Libraries

#1 GJSON

Package gjson provides searching for json strings.

Go JSON Libraries 15.5K stars 10.4K imported-by 100% confidence
94

#2 fastjson

Package fastjson provides fast JSON parsing.

Go JSON Libraries 0 stars 895 imported-by 80% confidence
73

#3 jsoniter

Package jsoniter implements encoding and decoding of JSON as defined in RFC 4627 and provides interfaces with identical syntax of standard lib encoding/json.

Go JSON Libraries 13.9K stars 0 imported-by 45% confidence
62

#4 codec

Package codec provides a High Performance, Feature-Rich Idiomatic Go codec/encoding library for binc, msgpack, cbor, json.

Go JSON Libraries 0 stars 0 imported-by 55% confidence
50

#5 bel

Generate TypeScript interfaces from Go structs/interfaces. Useful for JSON RPC.

Go JSON Libraries 0 stars 2 imported-by 80% confidence
44