Versions in this module Expand all Collapse all v1 v1.2.0 May 29, 2023 Changes in this version + type JsonParser struct + func (j *JsonParser) Decode(bytes []byte) (*undo.BranchUndoLog, error) + func (j *JsonParser) Encode(branchUndoLog *undo.BranchUndoLog) ([]byte, error) + func (j *JsonParser) GetDefaultContent() []byte + func (j *JsonParser) GetName() string v1.1.0 Mar 7, 2023 Changes in this version + const DefaultSerializer + type JacksonParser struct + func (j *JacksonParser) Decode(bytes []byte) (*undo.BranchUndoLog, error) + func (j *JacksonParser) Encode(branchUndoLog *undo.BranchUndoLog) ([]byte, error) + func (j *JacksonParser) GetDefaultContent() []byte + func (j *JacksonParser) GetName() string + type UndoLogParser interface + Decode func(bytes []byte) (*undo.BranchUndoLog, error) + Encode func(branchUndoLog *undo.BranchUndoLog) ([]byte, error) + GetDefaultContent func() []byte + GetName func() string + type UndoLogParserCache struct + func GetCache() *UndoLogParserCache + func (ulpc *UndoLogParserCache) GetDefault() (UndoLogParser, error) + func (ulpc *UndoLogParserCache) Load(name string) (UndoLogParser, error)