Reading and writing in JSON, Plist, YAML and XML data made simple when the data format is not known at build time. Swift library and command-line tool.
MIT License
Bot releases are visible (Hide)
Published by ABridoux about 3 years ago
The Linux binary will be released soon after. Meanwhile, no change was made on the command-line tool so the previous version is the same.
Published by ABridoux over 3 years ago
computeIndex(from:arrayCount:)
fixed empty arrays and 0 index [#254]Published by ABridoux over 3 years ago
PathExplorer.date
[#239]ExplorerXML
add and set features works with ExplroerXML
values [#241]Published by ABridoux over 3 years ago
Data
and Date
values support [#197]Codable
values [#199]PathExplorer
is now implemented by ExplorerValue
for Plist, JSON and YAML [#199]Codable
using ExplorerValue
for Plist, JSON and YAML. [#206]Path
parsing is now done with a parser rather than with regular expressions [#227]--format|-f
now required to specify the input format--csv
removed and --csv-sep
renamed --csv-exp
PathExplorerXML
renamed to ExplorerXML
and implements Copy on Write.Checkout What's new in Scout 4.0.0 to learn in detail about the new features.
Published by ABridoux over 3 years ago
Published by ABridoux over 3 years ago
Published by ABridoux over 3 years ago
PathExplorer.array(:)
and PathExplorer.dictionary(:)
to get a PathExplorer
value with a non-nested array and dictionary [#187]PathExplorer.description
with a single value will now only return the value without the data format ceremony [#185]SerializationFormat.Json.serialize(value:)
will throw an error if the value is a single one (rather than crashing at runtime) [#185]PathExplorerXML.init(value:)
deprecated for init(element:path)
Published by ABridoux over 3 years ago
Path
implement several Collection
protocols [#171]set
functions adding a value to an array with the index -1
removed. [#152]PathExplorer
requirements and default implementations changed [#163]PathExplorer
implementations have been moved in the PathExplorers
namespace.SerializationFormats
namespace.More informations: What's new in Scout 3.0.0.
Checkout the new wiki
Published by ABridoux about 4 years ago
--output
option to export the read data or the CSV export into a file.--version
ParsableCommand
parameter [#117]-v|--verbose
flag removed. Breaking change. The delete, set, and add commands will output the data by default when no --output
or --modify
options are specified.Make sure to install Swift on Linux to be able to run the program.
Published by ABridoux about 4 years ago
--output
option to export the read data or the CSV export into a file.--version
ParsableCommand
parameter [#117]-v|--verbose
flag removed. Breaking change. The delete, set, and add commands will output the data by default when no --output
or --modify
options are specified.Published by ABridoux about 4 years ago
Published by ABridoux about 4 years ago
Published by ABridoux about 4 years ago
PathElement.count
after an array or a dictionary. The count
is specified with [#]
for the command-line tool [#76]PathElement
changed for an enum, with a PathElementRepresentable
to initiate a Path
[#79]Path
changed for a struct conforming to Collection
and Equatable
[#76]PathExplorerFactory
will be removed in 2.0.0Published by ABridoux over 4 years ago
Published by ABridoux over 4 years ago
--no-color
flag to prevent colorisation when outputtingdoc
commandPublished by ABridoux over 4 years ago
Published by ABridoux over 4 years ago
Published by ABridoux over 4 years ago
Visible when outputting a dictionary or array value.