{"action":"created","issue":{"url":"https://api.github.com/repos/open-source-parsers/jsoncpp/issues/204","labels_url":"https://api.github.com/repos/open-source-parsers/jsoncpp/issues/204/labels{/name}","comments_url":"https://api.github.com/repos/open-source-parsers/jsoncpp/issues/204/comments","events_url":"https://api.github.com/repos/open-source-parsers/jsoncpp/issues/204/events","html_url":"https://github.com/open-source-parsers/jsoncpp/issues/204","id":60117589,"number":204,"title":"Allow hashmap via compilation flag","user":{"login":"cdunn2001","id":450656,"avatar_url":"https://avatars.githubusercontent.com/u/450656?v=3","gravatar_id":"","url":"https://api.github.com/users/cdunn2001","html_url":"https://github.com/cdunn2001","followers_url":"https://api.github.com/users/cdunn2001/followers","following_url":"https://api.github.com/users/cdunn2001/following{/other_user}","gists_url":"https://api.github.com/users/cdunn2001/gists{/gist_id}","starred_url":"https://api.github.com/users/cdunn2001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdunn2001/subscriptions","organizations_url":"https://api.github.com/users/cdunn2001/orgs","repos_url":"https://api.github.com/users/cdunn2001/repos","events_url":"https://api.github.com/users/cdunn2001/events{/privacy}","received_events_url":"https://api.github.com/users/cdunn2001/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/open-source-parsers/jsoncpp/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/open-source-parsers/jsoncpp/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-06T15:40:43Z","updated_at":"2015-03-07T21:09:21Z","closed_at":null,"body":"From [anonymous](https://sourceforge.net/p/jsoncpp/feature-requests/16/):\r\n> Many compilers include hash_map class and now it is even in C++11 standard by the name unordered_map.\r\nI propose another macro JSON_MAP_TYPE which will be defined to the best possible class.\r\nCurrently I can choose only JSON_USE_CPPTL_SMALLMAP or not.\r\nIt is not enough, I want to use map based on hash, it will be more efficient."},"comment":{"url":"https://api.github.com/repos/open-source-parsers/jsoncpp/issues/comments/77710225","html_url":"https://github.com/open-source-parsers/jsoncpp/issues/204#issuecomment-77710225","issue_url":"https://api.github.com/repos/open-source-parsers/jsoncpp/issues/204","id":77710225,"user":{"login":"cdunn2001","id":450656,"avatar_url":"https://avatars.githubusercontent.com/u/450656?v=3","gravatar_id":"","url":"https://api.github.com/users/cdunn2001","html_url":"https://github.com/cdunn2001","followers_url":"https://api.github.com/users/cdunn2001/followers","following_url":"https://api.github.com/users/cdunn2001/following{/other_user}","gists_url":"https://api.github.com/users/cdunn2001/gists{/gist_id}","starred_url":"https://api.github.com/users/cdunn2001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdunn2001/subscriptions","organizations_url":"https://api.github.com/users/cdunn2001/orgs","repos_url":"https://api.github.com/users/cdunn2001/repos","events_url":"https://api.github.com/users/cdunn2001/events{/privacy}","received_events_url":"https://api.github.com/users/cdunn2001/received_events","type":"User","site_admin":false},"created_at":"2015-03-07T21:09:21Z","updated_at":"2015-03-07T21:09:21Z","body":"That sounds like a good idea in general.\r\n\r\nHowever, we have also to worry about binary compatibility. If it's a flag, people can use it at their leisure. Otherwise, we have to be very careful about the sizes of data-structures. (It's not the map; it's the map iterators which we expose.)"}}