serializers/

directory
v0.0.0-...-e636a3f Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2017 License: Apache-2.0

README

Web - Serializers

Learn the basics of using and applying custom JSON and XML serializers.

Notes

  • The standard library has much of what you need to build services and apps.
  • The http package provides the building blocks.
  • There are other great packages in the Go ecosystem to help.

https://golang.org/pkg/net/http/
https://golang.org/doc/articles/wiki/

Code Review

JSON Encoding: Code | Test
MarshalJSON Interface: Code | Test
XML Encoding: Code | Test
MarshalXML Interface: Code | Test

Exercises

Exercise 1

TBD


All material is licensed under the Apache License Version 2.0, January 2004.

Directories

Path Synopsis
Sample program to show how to use the JSON encoder.
Sample program to show how to use the JSON encoder.
Sample program to show how to implement the json.Marshaler interface to dictate the marshaling.
Sample program to show how to implement the json.Marshaler interface to dictate the marshaling.
Sample program to show how to use the XML encoder.
Sample program to show how to use the XML encoder.
Sample program to show how to implement the xml.Marshaler interface to dictate the marshaling.
Sample program to show how to implement the xml.Marshaler interface to dictate the marshaling.

Jump to

Keyboard shortcuts

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