gitlab.com/evatix-go/core@v1.3.55/coredata/corejson/vars.go (about)

     1  package corejson
     2  
     3  import (
     4  	"gitlab.com/evatix-go/core/constants"
     5  	"gitlab.com/evatix-go/core/errcore"
     6  	"gitlab.com/evatix-go/core/internal/reflectinternal"
     7  )
     8  
     9  var (
    10  	resultTypeName          = reflectinternal.TypeName(Result{})
    11  	Empty                   = emptyCreator{}
    12  	Serialize               = serializerLogic{}   // deals with json.Marshal
    13  	Deserialize             = deserializerLogic{} // deals with json.Unmarshal
    14  	NewResult               = newResultCreator{}
    15  	NewResultsCollection    = newResultsCollectionCreator{}
    16  	NewBytesCollection      = newBytesCollectionCreator{}
    17  	NewResultsPtrCollection = newResultsPtrCollectionCreator{}
    18  	NewMapResults           = newMapResultsCreator{}
    19  	CastAny                 = castingAny{}
    20  	AnyTo                   = anyTo{}
    21  	StaticJsonError         = errcore.
    22  				EmptyResultCannotMakeJsonType.
    23  				ErrorNoRefs(constants.EmptyString)
    24  )