<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "StoreKit",
  "identifier" : "/documentation/StoreKit/Product/jsonRepresentation",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "StoreKit"
    ],
    "preciseIdentifier" : "s:8StoreKit7ProductV18jsonRepresentation10Foundation4DataVvp"
  },
  "title" : "jsonRepresentation"
}
-->

# jsonRepresentation

The JSON representation of the product information.

```
var jsonRepresentation: Data { get }
```

## Discussion

The [`jsonRepresentation`](/documentation/StoreKit/Product/jsonRepresentation) is UTF-8 string data. You can use the JSON data to decode the product information into your own data type instead of using the [`Product`](/documentation/StoreKit/Product) value directly.

---

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)