Handles the basic case of loading all the objects from a stream.
Args
default_class
Class that is instantiated upon the detection of a new
document. An instance of this class will act as the document itself.
stream
String document or open file object to process as per the
yaml.parse method. Any object that implements a read() method which
returns a string document will work with the YAML parser.
loader_class
Used for dependency injection.
Returns
List of default_class instances parsed from the stream.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-09-30 UTC."],[[["`BuildObjects` function loads objects from a stream, handling the loading of multiple objects."],["It uses a `default_class` to instantiate new document objects during parsing."],["The function accepts a `stream` which can be a string or a file-like object for YAML parsing."],["The output of `BuildObjects` is a list of objects based on the provided `default_class`."],["`loader_class` allows dependency injection for the parser."]]],[]]