commit | 6009ca9cf529d88a9fff4509dccb424a3ee0a57f | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Fri Jan 13 02:18:02 2012 |
committer | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Fri Jan 13 02:18:02 2012 |
tree | 9275a9b1a3a502c7eb5eb4820cb11629cfaf66f4 | |
parent | 9060d8b0a094dbcf15d58fa3ce27e9ce9f7766ee [diff] |
Add custom field converter to JSONValueConverter. In the real JSON results, sometimes string value does not literally mean a string, but labels (enum), URLs, or timestamps. Custom field accepts those string values and converting functions for such fields. See http://codereview.chromium.org/9147060 for the real use cases. BUG=109375 TEST=passed Review URL: http://codereview.chromium.org/9184002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117580 0039d316-1c4b-4281-b951-d872f2087c98