serializers/

directory
Version: v0.0.0-...-86d22a7 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2017 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
mholt.github.io/json-to-go/

Code Review

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

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.
Sample program to show common JSON mistakes.
Sample program to show common JSON mistakes.

Jump to

Keyboard shortcuts

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