/* Copyright 2024 Baidu Inc. All Rights Reserved. */ /* split_nil_string.go */ /* MODIFICATION HISTORY -------------------- 2024/6/24, by lixuanshan, create */ /* DESCRIPTION */
package main
import ( "encoding/json" "fmt" "testing"
jsoniter "github.com/json-iterator/go" )
type Node struct { Value int`json:"value"` Next *Node `json:"next"` }
funcTestJson(t *testing.T) { l := &Node{ Value: 1, } l.Next = l