single_line_text_field and multi_line_text_field metafield types can be used to display app-data metafields on the storefront using liquid in app embed blocks in theme extensions.
However if the json data type is used to display json data, there is no output on the storefront.
{{ app.metafields.myapp.json_test }}
{{ app.metafields.myapp.single_line_test }}
{{ app.metafields.myapp.multi_line_test }}
{"id":4991302860951,"admin_graphql_api_id":"gid:\/\/shopify\/Order\/4991302860951","app_id":1354745,"browser_i ...
{"id":4991302860951,"admin_graphql_api_id":"gid:\/\/shopify\/Order\/4991302860951","app_id":1354745,"browser_i ...
I’ve tested this with the payload of an order webhook and also verified that it is valid json.
Are there any limitations on the data types than can be used, or the content length, as nothing is documented and the documentation on App-data metafields is also very brief.
https://shopify.dev/docs/apps/custom-data/metafields/app-data