~jameinel/+junk/gozjson

Viewing all changes in revision 9.

  • Committer: John Arbash Meinel
  • Date: 2011-06-18 21:58:25 UTC
  • Revision ID: john@arbash-meinel.com-20110618215825-ctmhth0dfm5d0yub
Using a real struct is actually slower.
I'm guessing it requires more runtime type interfacing.
Because now we don't just put the fields into a generic map,
instead we have to look at the struct and see what field
this named value maps into, etc.
We could implement the Unmarshaler interface, which I'll try next.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: