# Source Script Node (Object)

This node allows you to customize data extraction and manipulation then return data in JSON format to the following node.

Example: Read a JSON file, parse its content, and return the resulting JSON object.

```javascript
var jsonContent = FileUtil.readFileContent("d:\\creds.json");
return JsonUtil.parse(jsonContent);
```

#### Example: Retrieve data from API and return as JSON

```typescript
// Initiate an HTTP GET request
var request = HttpUtil.get("https://boi.org.il/PublicApi/GetExchangeRates");

// Parse the JSON response
var jsonContent = JsonUtil.parse(request.asString().getBody());

return exchanges;
```

<figure><img src="https://lh7-us.googleusercontent.com/h-H3YCibQYuSkb50GA7ojME_Km_VThtgoXD-xzXnGoVPTOn6-4dM50-Ot5JViwBKc_veOLkh_i1SuEjJQPZ8AE64XveBrZTWO9y11_WLGMF0yrOPtrNMVYc9NPOqFxI6dssGCJnVdcnD6TZ7xfKy7gU" alt=""><figcaption><p>Script Source (Object)</p></figcaption></figure>
