<!--
{
  "availability" : [
    "Xcode: 27.0.0 -",
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Evaluations",
  "identifier" : "/documentation/Evaluations/EvaluationResult/loadJSONLines(from:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Evaluations"
    ],
    "preciseIdentifier" : "s:11Evaluations16EvaluationResultV13loadJSONLines4fromSayACG10Foundation3URLV_tYaKFZ"
  },
  "title" : "loadJSONLines(from:)"
}
-->

# loadJSONLines(from:)

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

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

## Parameters

`url`

The file URL to read the JSONL data from.

## Return Value

An array of [`EvaluationResult`](/documentation/Evaluations/EvaluationResult).

## Discussion

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

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)