Convert a ValuesQuerySet to an array of dicts (useful for serializing)
Perhaps this is blindingly obvious but I spent a while trying to get this, before figuring out that when a each item of an iterated ValuesQuerySet is a dict. Useful for serialising to JSON or XML etc.
- json
- serialization
- valuesqueryset