type encoding/json/v2.Options
25 uses
encoding/json/v2 (current package)
arshal.go#L163: func Marshal(in any, opts ...Options) (out []byte, err error) {
arshal.go#L179: func MarshalWrite(out io.Writer, in any, opts ...Options) (err error) {
arshal.go#L197: func MarshalEncode(out *jsontext.Encoder, in any, opts ...Options) (err error) {
arshal.go#L386: func Unmarshal(in []byte, out any, opts ...Options) (err error) {
arshal.go#L403: func UnmarshalRead(in io.Reader, out any, opts ...Options) (err error) {
arshal.go#L424: func UnmarshalDecode(in *jsontext.Decoder, out any, opts ...Options) (err error) {
errors.go#L103: Options() Options
options.go#L73: type Options = jsonopts.Options
options.go#L77: func JoinOptions(srcs ...Options) Options {
options.go#L95: func GetOption[T any](opts Options, setter func(T) Options) (T, bool) {
options.go#L102: func DefaultOptionsV2() Options {
options.go#L133: func StringifyNumbers(v bool) Options {
options.go#L155: func Deterministic(v bool) Options {
options.go#L168: func FormatNilSliceAsNull(v bool) Options {
options.go#L180: func FormatNilMapAsNull(v bool) Options {
options.go#L196: func OmitZeroStructFields(v bool) Options {
options.go#L225: func MatchCaseInsensitiveNames(v bool) Options {
options.go#L237: func RejectUnknownMembers(v bool) Options {
options.go#L250: func WithMarshalers(v *Marshalers) Options {
options.go#L259: func WithUnmarshalers(v *Unmarshalers) Options {
encoding/json
v2_options.go#L187: _ jsonv2.Options
v2_stream.go#L22: opts jsonv2.Options
v2_stream.go#L114: opts jsonv2.Options