package internal

import "github.com/docker/distribution/Godeps/_workspace/src/google.golang.org/api/internal"

Package internal contains common code shared by all Google API libraries which is not exported to users of the libraries.

Index

Functions

func MarshalJSON

func MarshalJSON(schema interface{}, forceSendFields []string) ([]byte, error)

MarshalJSON returns a JSON encoding of schema containing only selected fields. A field is selected if:

The JSON key for each selected field is taken from the field's json: struct tag.

Source Files

json.go

Version
v2.3.1+incompatible
Published
Feb 23, 2016
Platform
linux/amd64
Imports
4 packages
Last checked
1 hour ago

Tools for package owners.