Documentation ¶
Overview ¶
Package parser provides a Go library for decoding and parsing data.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ParserInterface ¶
ParserInterface defines the interface for a parser, specifying methods like DecodeCLIXML.
type WinTime ¶
WinTime is a custom time type that embeds the time.Time type. It is designed to handle the unmarshalling of dotnet JSON datetime strings in the format "\"/Date(timestamp)/\"" when used as a field in a struct that is being unmarshalled from JSON.
func (*WinTime) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for the WinTime type. It parses a JSON-encoded dotnet JSON datetime string and converts it into a WinTime object. The input byte slice is expected to represent a dotnet JSON datetime string in the format "\"/Date(timestamp)/\"".