---
title: "Result"
description: "Result"
url: "https://www.contentstack.com/docs/developers/sdks/content-delivery-sdk/php/reference/result"
product: "Contentstack"
doc_type: "guide"
audience:
  - developers
  - admins
version: "current"
last_updated: "2026-09-04"
---

# Result

## Result

Response as result

## get

Get the keys value from the object

```
use Contentstack\Contentstack;

$stack = Contentstack::Stack('api_key', 'delivery_token', 'environment');
$result = $stack->sync({'init'=> true});

$json = $result->get('key');
```

## toJSON

To convert result object to json

```
use Contentstack\Contentstack;

$stack = Contentstack::Stack('api_key', 'delivery_token', 'environment');
$result = $stack->sync({'init'=> true});

$json = $result->toJSON();
```

## Result | PHP Delivery SDK | Contentstack

Result wraps the API response data returned from Contentstack queries in the PHP Delivery SDK, giving structured access to fetched content.