---
title: JSON - Storefront API
description: |-
  A [JSON](https://www.json.org/json-en.html) object.

  Example value:
  `{
    "product": {
      "id": "gid://shopify/Product/1346443542550",
      "title": "White T-shirt",
      "options": [{
        "name": "Size",
        "values": ["M", "L"]
      }]
    }
  }`
api_version: 2026-07
source_url:
  html: 'https://shopify.dev/docs/api/storefront/latest/scalars/JSON'
  md: 'https://shopify.dev/docs/api/storefront/latest/scalars/JSON.md'
api_name: storefront
api_type: graphql
type: scalar
---

# JSON

scalar

A [JSON](https://www.json.org/json-en.html) object.

Example value: `{ "product": { "id": "gid://shopify/Product/1346443542550", "title": "White T-shirt", "options": [{ "name": "Size", "values": ["M", "L"] }] } }`

## Map

### Fields with this scalar

* [Filter​Value.input](https://shopify.dev/docs/api/storefront/latest/objects/FilterValue#field-FilterValue.fields.input)
* [Media​Presentation.asJson](https://shopify.dev/docs/api/storefront/latest/objects/MediaPresentation#field-MediaPresentation.fields.asJson)
