scout/Sources/Scout/Scout.docc/Tutorials/GettingStarted/data-navigation.tutorial

18 lines
654 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@Tutorial(time: 10) {
@Intro(title: "Data navigation") {
Learn how to navigate through data using ``Scout/PathExplorers``.
}
@Section(title: "Create a PathExplorer") {
@ContentAndMedia {
The simplest way to read data in any of the supported format is to use one of the ``Scout/PathExplorers`` implementation and to call ``Scout/SerializablePathExplorer/init(data:)``.
}
@Steps {
@Step {
For instance, lets imagine that the file is read and converted to a Data value. Heres how to make an explorer for the YAML format.
}
}
}
}