blob: d5108285993dfea32df8470a86ccfcfe62ec49b5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
package model
type NullNode struct{}
func (n NullNode) Type() NodeType {
return NullType
}
func (n NullNode) MarshalJSON() ([]byte, error) {
return []byte("null"), nil
}
func (n NullNode) Set(v any) error {
return nil
}
|