json

package
v1.1.0-alpha.0....-2e2def3 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2015 License: Apache-2.0, BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Overview

Package json is forked from the Go standard library to enable us to find the field of a struct that a given JSON key maps to.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LookupPatchMetadata

func LookupPatchMetadata(t reflect.Type, jsonField string) (reflect.Type, string, string, error)

Finds the patchStrategy and patchMergeKey struct tag fields on a given struct field given the struct type and the JSON name of the field. TODO: fix the returned errors to be introspectable.

Types

This section is empty.

Jump to

Keyboard shortcuts

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