exposure-notifications-server: github.com/google/exposure-notifications-server/internal/jsonutil Index | Files

package jsonutil

import "github.com/google/exposure-notifications-server/internal/jsonutil"

Package jsonutil provides common utilities for properly handling JSON payloads in HTTP body.

Index

Package Files

unmarshal.go

func Unmarshal Uses

func Unmarshal(w http.ResponseWriter, r *http.Request, data interface{}) (int, error)

Unmarshal provides a common implementation of JSON unmarshaling with well defined error handling.

Package jsonutil imports 6 packages (graph) and is imported by 1 packages. Updated 2020-07-25. Refresh now. Tools for package owners.