formjson: github.com/rs/formjson Index | Files

package formjson

import "github.com/rs/formjson"

Index

Package Files

formjson.go

func Handler Uses

func Handler(h http.Handler) http.Handler

Handler detects when a POST/PUT/PATCH content type is JSON, and transparently convert the JSON content into a standard PostForm. This does only support posting of a JSON dictionary containing string => string key value pairs.

func HandlerC Uses

func HandlerC(h xhandler.HandlerC) xhandler.HandlerC

HandlerC detects when a POST/PUT/PATCH content type is JSON, and transparently convert the JSON content into a standard PostForm. This does only support posting of a JSON dictionary containing string => string key value pairs.

Package formjson imports 7 packages (graph). Updated 2016-07-15. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).