From 74c12e1dec1c606895b7a1ed4fe44cd753a649ac Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 27 Aug 2011 10:31:27 -0400 Subject: [PATCH] Encode/Decode - The tasks are now using JSON encodings, but in addition to JSON decodings, also need legacy decoding, providing backward compatibility. --- src/Task.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Task.cpp b/src/Task.cpp index 64f16aa4e..8c0d2e906 100644 --- a/src/Task.cpp +++ b/src/Task.cpp @@ -309,7 +309,7 @@ void Task::parse (const std::string& input) nl.skip (':') && nl.getQuoted ('"', value)) { - (*this)[name] = json::decode (value); + (*this)[name] = decode (json::decode (value)); } nl.skip (' ');