Add converter for containers of pairs
authorChristopher Berner <cberner@fb.com>
Fri, 7 Dec 2012 21:38:28 +0000 (13:38 -0800)
committerJordan DeLong <jdelong@fb.com>
Sun, 16 Dec 2012 22:49:30 +0000 (14:49 -0800)
commit333ed393c83190fc6935837c3e61e4f9bc38e2bc
tree95d9fa220b2160fa97aed1dbcb3a2746f4c2cf4e
parent8dd82d48dd46f43f2ea9b4ed49634a2d3f7ecb43
Add converter for containers of pairs

Summary:
Add specialized dynamic converter for containers of pairs,
which can convert from a list of pairs, or from a object

Test Plan: added a unit test

Reviewed By: njormrod@fb.com

FB internal diff: D650730
folly/DynamicConverter.h
folly/test/DynamicConverterTest.cpp