marshaller

package
v0.0.0-...-3cb445a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 9, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JSONMarshaller

type JSONMarshaller struct {
	// contains filtered or unexported fields
}

JSONMarshaller is a resource.Marshaller that wraps jsonformat.Marshaller.

func NewJSONMarshaller

func NewJSONMarshaller() (*JSONMarshaller, error)

NewJSONMarshaller creates and returns a new JSONMarshaller.

func (*JSONMarshaller) Marshal

func (m *JSONMarshaller) Marshal(message proto.Message) ([]byte, error)

Marshal marshalls the given FHIR protocol buffer message as JSON.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL