Skip to content

chenqinghe/ejson

Repository files navigation

ejson

enhancement of standard json library

add omitin and omitout tags. for example:

type T struct {
	F1 int    `json:f1,omitin`
	F2 string `json:f2,omitout`
}
  • omitin specify that the field is omitted when Unmarshal
  • omitout is like omitin, but is omitted when Marshal, no matter the field is empty or not.

About

enhancement of standard json library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages