First time here? Check out the FAQ!
And I find that there is something wrong in ICFDetector::write(...). Then I modify it like this : fs << "{"; ====>>> fs << "model" << "{";