github.com/goadesign/goa/encoding/json


json

import "github.com/goadesign/goa/encoding/json"

Overview

Index

Package files

encoding.go

Variables

var (
    // Handle used by encoder and decoder.
    Handle codec.JsonHandle
)

Enforce that codec.Decoder satisfies goa.ResettableDecoder at compile time

func NewDecoder

func NewDecoder(r io.Reader) goa.Decoder

NewDecoder returns a JSON decoder.

func NewEncoder

func NewEncoder(w io.Writer) goa.Encoder

NewEncoder returns a JSON encoder.


Generated by godoc2md