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

# loadJSON(from:)

Loads an evaluation result from a JSON file on disk.

## Declaration

```swift
static func loadJSON(from url: URL) throws -> EvaluationResult
```

## Parameters

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

## Return Value

Return Value The deserialized EvaluationResult.

## See Also

### Saving and loading results

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