---
title: "loadJSONLines(from:)"
framework: evaluations
role: symbol
role_heading: Type Method
path: "evaluations/evaluationresult/loadjsonlines(from:)"
---

# loadJSONLines(from:)

Loads an array of evaluation results from a JSONL file on disk.

## Declaration

```swift
nonisolated(nonsending) static func loadJSONLines(from url: URL) async throws -> [EvaluationResult]
```

## Parameters

- `url`: The file URL to read the JSONL data from.

## Return Value

Return Value An array of EvaluationResult.

## Discussion

Discussion Each line in the file is expected to be a valid JSON object representing an evaluation result.

## See Also

### Saving and loading results

- [saveJSON(to:includeReportMetadata:)](evaluations/evaluationresult/savejson(to:includereportmetadata:).md)
- [jsonData(includeReportMetadata:jsonOptions:)](evaluations/evaluationresult/jsondata(includereportmetadata:jsonoptions:).md)
- [loadJSON(from:)](evaluations/evaluationresult/loadjson(from:).md)
- [init(jsonData:)](evaluations/evaluationresult/init(jsondata:).md)
