gitlab.com/evatix-go/core@v1.3.55/cmd/main/jsonResultUnmarshallingTest01.go (about)

     1  package main
     2  
     3  import (
     4  	"fmt"
     5  
     6  	"gitlab.com/evatix-go/core/coredata/coredynamic"
     7  )
     8  
     9  func jsonResultUnmarshallingTest01() {
    10  	mapAnyItems := getMapAnyItems()
    11  	jsonResult := mapAnyItems.JsonPtr()
    12  	emptyMapResult := coredynamic.EmptyMapAnyItems()
    13  
    14  	err := jsonResult.Unmarshal(emptyMapResult)
    15  	fmt.Println("err:", err)
    16  	fmt.Println(emptyMapResult)
    17  }