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:
@@ -309,7 +309,7 @@ void Task::parse (const std::string& input)
|
|||||||
nl.skip (':') &&
|
nl.skip (':') &&
|
||||||
nl.getQuoted ('"', value))
|
nl.getQuoted ('"', value))
|
||||||
{
|
{
|
||||||
(*this)[name] = json::decode (value);
|
(*this)[name] = decode (json::decode (value));
|
||||||
}
|
}
|
||||||
|
|
||||||
nl.skip (' ');
|
nl.skip (' ');
|
||||||
|
|||||||
Reference in New Issue
Block a user