mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
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:
parent
1c2a4981ac
commit
74c12e1dec
1 changed files with 1 additions and 1 deletions
|
@ -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 (' ');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue