Part 3 · Section 08

Coding Exercises

Time to put the serialization tools to work on a realistic data set: a dictionary of stock quotes and trades built from two small classes. The data mixes everything JSON can’t represent on its own: custom objects, date and datetime values, and exact Decimal prices. Your job is to get it to JSON and back again without losing anything: the decoded data must compare equal to the original.

In this section you’ll:

Lectures

  1. 01Coding Exercises✓
  2. 02Exercise 1 - Solution✓
  3. 03Exercise 2 - Solution✓
  4. 04Exercise 3 - Solution✓

Practice: quiz & exercises

7 quiz questions · 3 coding exercises

Go to practice →