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 Jun 11, 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 go-json

Fast JSON encoder/decoder compatible with encoding/json for Go

Go JSON Libraries 3.7K stars 4.2K imported-by 60% confidence
89

#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 9.9K imported-by 65% confidence
68

#4 go-starter

An opinionated production-ready RESTful JSON backend template, highly integrated with VSCode DevContainers.

Go JSON Libraries 0 stars 0 imported-by 25% confidence
44

Similar Packages

Go JSON Libraries

#1 go-json

Fast JSON encoder/decoder compatible with encoding/json for Go

Go JSON Libraries 3.7K stars 4.2K imported-by 60% confidence
89

#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 17.7K imported-by 100% confidence
71

#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 9.9K imported-by 65% confidence
68

#5 bel

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

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