diff --git a/ChangeLog b/ChangeLog index e6ff627ba..18b22c4f3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -65,6 +65,7 @@ - The '_ids', '_projects', '_tags', '_uuids' helper commands are deprecated, and replaced by the new '_unique' helper command, which generates lists of unique values for the specified attribute. +- "import" can now import JSON arrays, the new default "export" output. ------ current release --------------------------- diff --git a/src/commands/CmdImport.cpp b/src/commands/CmdImport.cpp index 48c5e5770..f186af92f 100644 --- a/src/commands/CmdImport.cpp +++ b/src/commands/CmdImport.cpp @@ -101,7 +101,9 @@ int CmdImport::import (std::vector & lines) { std::string object = trimLeft ( trimRight ( - trim (line), + trimRight ( + trim (line), + ","), "]"), "[");