puppetlabs/puppetdb — pull request #385 by nicklewis (2012-12-19 22:46:03+00:00)
Title: Support non-string resource property values in events

These were previously only allowed to be strings, which doesn't reflect
what the values might actually come in as, and also is different from
what resources support. Now we make sure to db-serialize them before
storage, and JSON parse them on the way back out. Also, added a
"jsonable" type class to the model validation code, which accepts, as
the name implies, any object satisfying the JSONable protocol. That type
class is now used to validate event property values.