Encode/Decode

- The tasks are now using JSON encodings, but in addition to JSON
  decodings, also need legacy decoding, providing backward compatibility.
This commit is contained in:
Paul Beckingham 2011-08-27 10:31:27 -04:00
parent 1c2a4981ac
commit 74c12e1dec

View file

@ -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 (' ');