gitlab.com/evatix-go/core@v1.3.55/coredata/corejson/JsonMarshaller.go (about) 1 package corejson 2 3 type JsonMarshaller interface { 4 // MarshalJSON 5 // 6 // alias for Serialize (from any to json) 7 MarshalJSON() (jsonBytes []byte, parsedErr error) 8 // UnmarshalJSON 9 // 10 // alias for Deserialize (from json to any) 11 UnmarshalJSON(rawJsonBytes []byte) error 12 }