---
title: "marshal-receiver"
description: "Keep marshal receiver types consistent."
image: "https://strider.gempir.com/og.png"
---

> Documentation Index
> Fetch the complete documentation index at: https://strider.gempir.com/llms.txt
> Use this file to discover all available pages before exploring further.

# marshal-receiver

<!-- Code generated by docs/scripts/generate-check-docs.go; DO NOT EDIT. -->

**Default severity:** `warning`

Keep marshal receiver types consistent. Default: standard method families.

## Bad

```go
func (value Value) MarshalJSON() ([]byte, error)
func (value *Value) UnmarshalJSON([]byte) error
```

## Good

```go
func (value *Value) MarshalJSON() ([]byte, error)
func (value *Value) UnmarshalJSON([]byte) error
```

Source: https://strider.gempir.com/lints/marshal-receiver/index.mdx
