serializers/

directory
v0.0.0-...-5eb8025 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2018 License: Apache-2.0

README

Web - Serializers

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

https://golang.org/pkg/encoding/json
https://golang.org/pkg/encoding/xml
http://mholt.github.io/json-to-go/

Code Review

JSON Encoding: Code
JSON Struct Tags: Code | Test
MarshalJSON Interface: Code | Test
JSON Mistakes: Code
JSON and net/http: Code
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 encode and decode JSON.
Sample program to show how to encode and decode JSON.
Sample program to show how to control JSON encoding using struct tags.
Sample program to show how to control JSON encoding using struct tags.
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 common JSON mistakes.
Sample program to show common JSON mistakes.
Sample program that sends and receives JSON.
Sample program that sends and receives JSON.
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