Versions in this module Expand all Collapse all v0 v0.6.3 Oct 9, 2020 v0.6.2 Oct 9, 2020 Changes in this version + const R4 + const STU3 + func DenormalizeReference(pb proto.Message) error + func NormalizeReference(pb proto.Message) error + func ParseDateTimeFromJSON(rm json.RawMessage, l *time.Location, m proto.Message) error + func SerializeInstant(instant proto.Message) (string, error) + type ContainedResourceOrError struct + ContainedResource *rpb.ContainedResource + Error error + type Marshaller struct + func NewAnalyticsMarshaller(maxDepth int, ver Version) (*Marshaller, error) + func NewAnalyticsMarshallerWithInferredSchema(maxDepth int, ver Version) (*Marshaller, error) + func NewMarshaller(enableIndent bool, prefix, indent string, ver Version) (*Marshaller, error) + func NewPrettyMarshaller(ver Version) (*Marshaller, error) + func (m *Marshaller) Marshal(pb proto.Message) ([]byte, error) + func (m *Marshaller) MarshalResource(r proto.Message) ([]byte, error) + func (m *Marshaller) MarshalResourceToString(r proto.Message) (string, error) + func (m *Marshaller) MarshalToString(pb proto.Message) (string, error) + type Unmarshaller struct + MaxNestingDepth int + TimeZone *time.Location + func NewUnmarshaller(tz string, ver Version) (*Unmarshaller, error) + func NewUnmarshallerWithoutValidation(tz string, ver Version) (*Unmarshaller, error) + func (u *Unmarshaller) Unmarshal(in []byte) (proto.Message, error) + func (u *Unmarshaller) UnmarshalR3(in []byte) (*rpb.ContainedResource, error) + func (u *Unmarshaller) UnmarshalR4(in []byte) (*rpb.ContainedResource, error) + func (u *Unmarshaller) UnmarshalR4Streaming(in io.Reader) <-chan *ContainedResourceOrError + type Version string + func (v Version) String() string