---
title: New metafield jsonValue field - Shopify developer changelog
description: >-
  Shopify’s developer changelog documents all changes to Shopify’s platform.
  Find the latest news and learn about new platform opportunities.
source_url:
  html: 'https://shopify.dev/changelog/new-metafield-jsonvalue-field'
  md: 'https://shopify.dev/changelog/new-metafield-jsonvalue-field.md'
metadata:
  effectiveApiVersion: 2024-07
  affectedApi:
    - displayName: Admin GraphQL API
      handle: admin-graphql
    - displayName: Customer Account API
      handle: customer-account-graphql
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Update
    handle: update
  indicatesActionRequired: false
  createdAt: '2024-06-06T14:30:10-04:00'
  postedAt: '2024-07-01T00:00:00-04:00'
  updatedAt: '2024-06-10T13:33:12-04:00'
  effectiveAt: '2024-07-01T00:00:00-04:00'
---

July 1, 2024

Tags:

* Admin GraphQL API
* Customer Account API
* 2024-07

# New metafield `jsonValue` field

As of API version `2024-07`, the [`Metafield`](https://shopify.dev/docs/api/admin-graphql/2024-07/objects/Metafield) and [`MetaobjectField`](https://shopify.dev/docs/api/admin-graphql/2024-07/objects/MetaobjectField) objects now have a `jsonValue` field returning the stored value as a `JSON` scalar. This is particularly helpful for metafield values that are stored as `JSON` strings to avoid having to parse client-side. This field is set for all metafield types and is also available in all Function APIs. It can be used in Function input queries to improve function performance and reduce the instructions needed to parse JSON metafield values, which are commonly used for function configuration.
