#json is somewhat a #mess - but it's good enough that if you use it in a reasonable way, it will be fine: http://seriot.ch/projects/parsing_json.h.. Just don't #abuse the #edgecases ... Otherwise you will be stuck with a #library #specific #implementation and won't have #portability ...