We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It is crashing on decoding the following json object: But is working with other json
{ "jsonapi": { "version": "1.0", "meta": { "links": { "self": { "href": "http://jsonapi.org/format/1.0/" } } } }, "data": [ { "type": "commerce_product--estacao_de_servico", "id": "42f98d4f-0200-437a-84c9-f9793581460d", "links": { "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/commerce_product/estacao_de_servico/42f98d4f-0200-437a-84c9-f9793581460d" } }, "attributes": { "drupal_internal__product_id": 2, "langcode": "pt-pt", "status": true, "title": "Pen USB Repsol", "path": { "alias": "/produto/pen-usb-repsol", "pid": 11, "langcode": "pt-pt" }, "created": "2019-08-28T14:59:31+00:00", "changed": "2019-12-17T15:32:54+00:00", "default_langcode": true, "metatag": null, "body": { "value": "<p>Pen USB Repsol.</p>\r\n", "format": "basic_html", "processed": "<p>Pen USB Repsol.</p>", "summary": "" }, "field_delivery": "Imediata nas Estações de Serviço.", "field_meta_tags": null }, "relationships": { "commerce_product_type": { "data": { "type": "commerce_product_type--commerce_product_type", "id": "d6efc374-e781-4388-bf3a-7cfce202ad25" }, "links": { "related": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/commerce_product/estacao_de_servico/42f98d4f-0200-437a-84c9-f9793581460d/commerce_product_type" }, "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/commerce_product/estacao_de_servico/42f98d4f-0200-437a-84c9-f9793581460d/relationships/commerce_product_type" } } }, "stores": { "data": [ { "type": "commerce_store--online", "id": "a8471acd-f641-4550-872f-11f5aa5e19ed" } ], "links": { "related": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/commerce_product/estacao_de_servico/42f98d4f-0200-437a-84c9-f9793581460d/stores" }, "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/commerce_product/estacao_de_servico/42f98d4f-0200-437a-84c9-f9793581460d/relationships/stores" } } }, "uid": { "data": null, "links": { "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/commerce_product/estacao_de_servico/42f98d4f-0200-437a-84c9-f9793581460d/relationships/uid" } } }, "variations": { "data": [ { "type": "commerce_product_variation--estacao_de_servico", "id": "b1411858-68f1-4486-92cc-002df49bb235" } ], "links": { "related": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/commerce_product/estacao_de_servico/42f98d4f-0200-437a-84c9-f9793581460d/variations" }, "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/commerce_product/estacao_de_servico/42f98d4f-0200-437a-84c9-f9793581460d/relationships/variations" } } }, "field_brand": { "data": { "type": "taxonomy_term--marca", "id": "8ea56e8d-73fd-4fb0-8d67-ac029938b54b" }, "links": { "related": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/commerce_product/estacao_de_servico/42f98d4f-0200-437a-84c9-f9793581460d/field_brand" }, "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/commerce_product/estacao_de_servico/42f98d4f-0200-437a-84c9-f9793581460d/relationships/field_brand" } } }, "field_category": { "data": { "type": "taxonomy_term--categories_store", "id": "d628ccad-39fc-4135-9e34-3a9b197a2377" }, "links": { "related": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/commerce_product/estacao_de_servico/42f98d4f-0200-437a-84c9-f9793581460d/field_category" }, "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/commerce_product/estacao_de_servico/42f98d4f-0200-437a-84c9-f9793581460d/relationships/field_category" } } }, "field_supplier": { "data": { "type": "taxonomy_term--seller", "id": "35884fe2-ca79-43a3-afbe-3def2149ae4d" }, "links": { "related": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/commerce_product/estacao_de_servico/42f98d4f-0200-437a-84c9-f9793581460d/field_supplier" }, "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/commerce_product/estacao_de_servico/42f98d4f-0200-437a-84c9-f9793581460d/relationships/field_supplier" } } } } } ], "included": [ { "type": "taxonomy_term--marca", "id": "8ea56e8d-73fd-4fb0-8d67-ac029938b54b", "links": { "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/taxonomy_term/marca/8ea56e8d-73fd-4fb0-8d67-ac029938b54b" } }, "attributes": { "drupal_internal__tid": 315, "drupal_internal__revision_id": 315, "langcode": "pt-pt", "revision_created": "2019-12-17T11:49:03+00:00", "revision_log_message": null, "status": true, "name": "Audioquest", "description": null, "weight": 0, "changed": "2019-12-17T11:49:03+00:00", "default_langcode": true, "revision_translation_affected": true, "metatag": null, "path": { "alias": null, "pid": null, "langcode": "pt-pt" }, "rh_action": null, "rh_redirect": null, "rh_redirect_response": null, "depth_level": 1 }, "relationships": { "vid": { "data": null, "links": { "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/taxonomy_term/marca/8ea56e8d-73fd-4fb0-8d67-ac029938b54b/relationships/vid" } } }, "revision_user": { "data": null, "links": { "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/taxonomy_term/marca/8ea56e8d-73fd-4fb0-8d67-ac029938b54b/relationships/revision_user" } } }, "parent": { "data": [ { "type": "taxonomy_term--marca", "id": "virtual", "meta": { "links": { "help": { "href": "https://www.drupal.org/docs/8/modules/json-api/core-concepts#virtual", "meta": { "about": "Usage and meaning of the 'virtual' resource identifier." } } } } } ], "links": { "related": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/taxonomy_term/marca/8ea56e8d-73fd-4fb0-8d67-ac029938b54b/parent" }, "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/taxonomy_term/marca/8ea56e8d-73fd-4fb0-8d67-ac029938b54b/relationships/parent" } } }, "field_image": { "data": null, "links": { "related": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/taxonomy_term/marca/8ea56e8d-73fd-4fb0-8d67-ac029938b54b/field_image" }, "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/taxonomy_term/marca/8ea56e8d-73fd-4fb0-8d67-ac029938b54b/relationships/field_image" } } } } }, { "type": "taxonomy_term--categories_store", "id": "d628ccad-39fc-4135-9e34-3a9b197a2377", "links": { "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/taxonomy_term/categories_store/d628ccad-39fc-4135-9e34-3a9b197a2377" } }, "attributes": { "drupal_internal__tid": 91, "drupal_internal__revision_id": 91, "langcode": "pt-pt", "revision_created": "2019-11-18T15:23:41+00:00", "revision_log_message": null, "status": true, "name": "Vales", "description": null, "weight": 1, "changed": "2019-11-19T12:41:37+00:00", "default_langcode": true, "revision_translation_affected": true, "metatag": null, "path": { "alias": null, "pid": null, "langcode": "pt-pt" }, "rh_action": "bundle_default", "rh_redirect": null, "rh_redirect_response": 301, "depth_level": 2, "field_rate": null }, "relationships": { "vid": { "data": null, "links": { "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/taxonomy_term/categories_store/d628ccad-39fc-4135-9e34-3a9b197a2377/relationships/vid" } } }, "revision_user": { "data": null, "links": { "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/taxonomy_term/categories_store/d628ccad-39fc-4135-9e34-3a9b197a2377/relationships/revision_user" } } }, "parent": { "data": [ { "type": "taxonomy_term--categories_store", "id": "2711f91c-9289-4b37-9fbb-c826804e3720" } ], "links": { "related": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/taxonomy_term/categories_store/d628ccad-39fc-4135-9e34-3a9b197a2377/parent" }, "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/taxonomy_term/categories_store/d628ccad-39fc-4135-9e34-3a9b197a2377/relationships/parent" } } }, "field_icon": { "data": { "type": "file--file", "id": "168ca355-1ff6-4c29-9969-b27e756e7c2e", "meta": { "alt": "Ofertas nas estações de serviço", "title": "", "width": 24, "height": 24 } }, "links": { "related": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/taxonomy_term/categories_store/d628ccad-39fc-4135-9e34-3a9b197a2377/field_icon" }, "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/taxonomy_term/categories_store/d628ccad-39fc-4135-9e34-3a9b197a2377/relationships/field_icon" } } } } }, { "type": "taxonomy_term--seller", "id": "35884fe2-ca79-43a3-afbe-3def2149ae4d", "links": { "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/taxonomy_term/seller/35884fe2-ca79-43a3-afbe-3def2149ae4d" } }, "attributes": { "drupal_internal__tid": 17, "drupal_internal__revision_id": 17, "langcode": "pt-pt", "revision_created": "2019-09-20T15:36:38+00:00", "revision_log_message": null, "status": true, "name": "El corte", "description": null, "weight": 0, "changed": "2019-12-06T12:03:05+00:00", "default_langcode": true, "revision_translation_affected": true, "metatag": null, "path": { "alias": null, "pid": null, "langcode": "pt-pt" }, "rh_action": "bundle_default", "rh_redirect": null, "rh_redirect_response": 301, "depth_level": 1 }, "relationships": { "vid": { "data": null, "links": { "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/taxonomy_term/seller/35884fe2-ca79-43a3-afbe-3def2149ae4d/relationships/vid" } } }, "revision_user": { "data": null, "links": { "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/taxonomy_term/seller/35884fe2-ca79-43a3-afbe-3def2149ae4d/relationships/revision_user" } } }, "parent": { "data": [ { "type": "taxonomy_term--seller", "id": "virtual", "meta": { "links": { "help": { "href": "https://www.drupal.org/docs/8/modules/json-api/core-concepts#virtual", "meta": { "about": "Usage and meaning of the 'virtual' resource identifier." } } } } } ], "links": { "related": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/taxonomy_term/seller/35884fe2-ca79-43a3-afbe-3def2149ae4d/parent" }, "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/taxonomy_term/seller/35884fe2-ca79-43a3-afbe-3def2149ae4d/relationships/parent" } } }, "field_image": { "data": { "type": "media--image", "id": "9520e95e-b2ed-4c60-80a9-fc20ec9534de" }, "links": { "related": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/taxonomy_term/seller/35884fe2-ca79-43a3-afbe-3def2149ae4d/field_image" }, "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/taxonomy_term/seller/35884fe2-ca79-43a3-afbe-3def2149ae4d/relationships/field_image" } } } } }, { "type": "commerce_product_variation--estacao_de_servico", "id": "b1411858-68f1-4486-92cc-002df49bb235", "links": { "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/commerce_product_variation/estacao_de_servico/b1411858-68f1-4486-92cc-002df49bb235" } }, "attributes": { "drupal_internal__variation_id": 2, "langcode": "pt-pt", "status": true, "sku": "USB Repsol", "title": "USB Repsol", "list_price": null, "price": { "number": "0.000000", "currency_code": "PTS", "formatted": "0 pts" }, "created": "2019-08-28T15:00:23+00:00", "changed": "2019-12-17T15:32:54+00:00", "default_langcode": true }, "relationships": { "commerce_product_variation_type": { "data": { "type": "commerce_product_variation_type--commerce_product_variation_type", "id": "01f90d75-47d8-407b-b481-7b545210a33f" }, "links": { "related": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/commerce_product_variation/estacao_de_servico/b1411858-68f1-4486-92cc-002df49bb235/commerce_product_variation_type" }, "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/commerce_product_variation/estacao_de_servico/b1411858-68f1-4486-92cc-002df49bb235/relationships/commerce_product_variation_type" } } }, "uid": { "data": null, "links": { "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/commerce_product_variation/estacao_de_servico/b1411858-68f1-4486-92cc-002df49bb235/relationships/uid" } } }, "product_id": { "data": { "type": "commerce_product--estacao_de_servico", "id": "42f98d4f-0200-437a-84c9-f9793581460d" }, "links": { "related": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/commerce_product_variation/estacao_de_servico/b1411858-68f1-4486-92cc-002df49bb235/product_id" }, "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/commerce_product_variation/estacao_de_servico/b1411858-68f1-4486-92cc-002df49bb235/relationships/product_id" } } }, "field_image": { "data": [ { "type": "media--image", "id": "da8e3690-7cb9-41c4-9728-8f55a7494119" }, { "type": "media--image", "id": "d1f060ce-4115-44de-a19e-d3377e3c80e2" }, { "type": "media--image", "id": "8c12bb71-8f23-485e-ba2d-6ef40098d802" } ], "links": { "related": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/commerce_product_variation/estacao_de_servico/b1411858-68f1-4486-92cc-002df49bb235/field_image" }, "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/commerce_product_variation/estacao_de_servico/b1411858-68f1-4486-92cc-002df49bb235/relationships/field_image" } } } } }, { "type": "media--image", "id": "da8e3690-7cb9-41c4-9728-8f55a7494119", "links": { "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/media/image/da8e3690-7cb9-41c4-9728-8f55a7494119?resourceVersion=id%3A1" } }, "attributes": { "drupal_internal__mid": 1, "drupal_internal__vid": 1, "langcode": "pt-pt", "revision_created": "2019-08-28T11:29:17+00:00", "revision_log_message": null, "status": true, "name": "placeholder_300x150.png", "created": "2019-08-28T11:29:00+00:00", "changed": "2019-08-28T14:27:40+00:00", "default_langcode": true, "revision_translation_affected": true, "metatag": null, "path": { "alias": null, "pid": null, "langcode": "pt-pt" } }, "relationships": { "bundle": { "data": { "type": "media_type--media_type", "id": "7a1e1189-19d2-4e5d-a94a-7c6f1aa24a10" }, "links": { "related": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/media/image/da8e3690-7cb9-41c4-9728-8f55a7494119/bundle?resourceVersion=id%3A1" }, "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/media/image/da8e3690-7cb9-41c4-9728-8f55a7494119/relationships/bundle?resourceVersion=id%3A1" } } }, "revision_user": { "data": null, "links": { "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/media/image/da8e3690-7cb9-41c4-9728-8f55a7494119/relationships/revision_user?resourceVersion=id%3A1" } } }, "uid": { "data": null, "links": { "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/media/image/da8e3690-7cb9-41c4-9728-8f55a7494119/relationships/uid?resourceVersion=id%3A1" } } }, "thumbnail": { "data": { "type": "file--file", "id": "c46a63ea-8183-48c0-8678-6422be7ac8c2", "meta": { "alt": "placeholder", "title": null, "width": 200, "height": 200 } }, "links": { "related": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/media/image/da8e3690-7cb9-41c4-9728-8f55a7494119/thumbnail?resourceVersion=id%3A1" }, "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/media/image/da8e3690-7cb9-41c4-9728-8f55a7494119/relationships/thumbnail?resourceVersion=id%3A1" } } }, "field_media_image": { "data": { "type": "file--file", "id": "c46a63ea-8183-48c0-8678-6422be7ac8c2", "meta": { "alt": "placeholder", "title": "", "width": 300, "height": 150 } }, "links": { "related": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/media/image/da8e3690-7cb9-41c4-9728-8f55a7494119/field_media_image?resourceVersion=id%3A1" }, "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/media/image/da8e3690-7cb9-41c4-9728-8f55a7494119/relationships/field_media_image?resourceVersion=id%3A1" } } } } }, { "type": "media--image", "id": "d1f060ce-4115-44de-a19e-d3377e3c80e2", "links": { "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/media/image/d1f060ce-4115-44de-a19e-d3377e3c80e2?resourceVersion=id%3A2" } }, "attributes": { "drupal_internal__mid": 2, "drupal_internal__vid": 2, "langcode": "pt-pt", "revision_created": "2019-08-28T14:32:26+00:00", "revision_log_message": null, "status": true, "name": "placeholder_200x200_1.png", "created": "2019-08-28T14:32:14+00:00", "changed": "2019-08-28T14:32:26+00:00", "default_langcode": true, "revision_translation_affected": true, "metatag": null, "path": { "alias": null, "pid": null, "langcode": "pt-pt" } }, "relationships": { "bundle": { "data": { "type": "media_type--media_type", "id": "7a1e1189-19d2-4e5d-a94a-7c6f1aa24a10" }, "links": { "related": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/media/image/d1f060ce-4115-44de-a19e-d3377e3c80e2/bundle?resourceVersion=id%3A2" }, "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/media/image/d1f060ce-4115-44de-a19e-d3377e3c80e2/relationships/bundle?resourceVersion=id%3A2" } } }, "revision_user": { "data": null, "links": { "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/media/image/d1f060ce-4115-44de-a19e-d3377e3c80e2/relationships/revision_user?resourceVersion=id%3A2" } } }, "uid": { "data": null, "links": { "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/media/image/d1f060ce-4115-44de-a19e-d3377e3c80e2/relationships/uid?resourceVersion=id%3A2" } } }, "thumbnail": { "data": { "type": "file--file", "id": "a3528811-ec99-4404-9aa3-66d21cd8c902", "meta": { "alt": "placeholder", "title": null, "width": 200, "height": 200 } }, "links": { "related": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/media/image/d1f060ce-4115-44de-a19e-d3377e3c80e2/thumbnail?resourceVersion=id%3A2" }, "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/media/image/d1f060ce-4115-44de-a19e-d3377e3c80e2/relationships/thumbnail?resourceVersion=id%3A2" } } }, "field_media_image": { "data": { "type": "file--file", "id": "a3528811-ec99-4404-9aa3-66d21cd8c902", "meta": { "alt": "placeholder", "title": "", "width": 200, "height": 200 } }, "links": { "related": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/media/image/d1f060ce-4115-44de-a19e-d3377e3c80e2/field_media_image?resourceVersion=id%3A2" }, "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/media/image/d1f060ce-4115-44de-a19e-d3377e3c80e2/relationships/field_media_image?resourceVersion=id%3A2" } } } } }, { "type": "media--image", "id": "8c12bb71-8f23-485e-ba2d-6ef40098d802", "links": { "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/media/image/8c12bb71-8f23-485e-ba2d-6ef40098d802?resourceVersion=id%3A3" } }, "attributes": { "drupal_internal__mid": 3, "drupal_internal__vid": 3, "langcode": "pt-pt", "revision_created": "2019-08-28T14:34:09+00:00", "revision_log_message": null, "status": true, "name": "placeholder_200x200_2.png", "created": "2019-08-28T14:33:49+00:00", "changed": "2019-08-28T14:34:09+00:00", "default_langcode": true, "revision_translation_affected": true, "metatag": null, "path": { "alias": null, "pid": null, "langcode": "pt-pt" } }, "relationships": { "bundle": { "data": { "type": "media_type--media_type", "id": "7a1e1189-19d2-4e5d-a94a-7c6f1aa24a10" }, "links": { "related": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/media/image/8c12bb71-8f23-485e-ba2d-6ef40098d802/bundle?resourceVersion=id%3A3" }, "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/media/image/8c12bb71-8f23-485e-ba2d-6ef40098d802/relationships/bundle?resourceVersion=id%3A3" } } }, "revision_user": { "data": null, "links": { "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/media/image/8c12bb71-8f23-485e-ba2d-6ef40098d802/relationships/revision_user?resourceVersion=id%3A3" } } }, "uid": { "data": null, "links": { "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/media/image/8c12bb71-8f23-485e-ba2d-6ef40098d802/relationships/uid?resourceVersion=id%3A3" } } }, "thumbnail": { "data": { "type": "file--file", "id": "d5301e43-40d9-49ee-849a-6f82901ac311", "meta": { "alt": "placeholder", "title": null, "width": 200, "height": 200 } }, "links": { "related": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/media/image/8c12bb71-8f23-485e-ba2d-6ef40098d802/thumbnail?resourceVersion=id%3A3" }, "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/media/image/8c12bb71-8f23-485e-ba2d-6ef40098d802/relationships/thumbnail?resourceVersion=id%3A3" } } }, "field_media_image": { "data": { "type": "file--file", "id": "d5301e43-40d9-49ee-849a-6f82901ac311", "meta": { "alt": "placeholder", "title": "", "width": 200, "height": 200 } }, "links": { "related": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/media/image/8c12bb71-8f23-485e-ba2d-6ef40098d802/field_media_image?resourceVersion=id%3A3" }, "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/media/image/8c12bb71-8f23-485e-ba2d-6ef40098d802/relationships/field_media_image?resourceVersion=id%3A3" } } } } }, { "type": "file--file", "id": "c46a63ea-8183-48c0-8678-6422be7ac8c2", "links": { "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/file/file/c46a63ea-8183-48c0-8678-6422be7ac8c2" } }, "attributes": { "drupal_internal__fid": 2, "langcode": "pt-pt", "filename": "placeholder_300x150.png", "uri": { "value": "public://2019-08/placeholder_300x150.png", "url": "/sites/default/files/2019-08/placeholder_300x150.png" }, "filemime": "image/png", "filesize": 1095, "status": true, "created": "2019-08-28T14:27:37+00:00", "changed": "2019-08-28T14:27:40+00:00" }, "relationships": { "uid": { "data": null, "links": { "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/file/file/c46a63ea-8183-48c0-8678-6422be7ac8c2/relationships/uid" } } } } }, { "type": "file--file", "id": "a3528811-ec99-4404-9aa3-66d21cd8c902", "links": { "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/file/file/a3528811-ec99-4404-9aa3-66d21cd8c902" } }, "attributes": { "drupal_internal__fid": 3, "langcode": "pt-pt", "filename": "placeholder_200x200_1.png", "uri": { "value": "public://2019-08/placeholder_200x200_1.png", "url": "/sites/default/files/2019-08/placeholder_200x200_1.png" }, "filemime": "image/png", "filesize": 781, "status": true, "created": "2019-08-28T14:32:18+00:00", "changed": "2019-08-28T14:32:26+00:00" }, "relationships": { "uid": { "data": null, "links": { "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/file/file/a3528811-ec99-4404-9aa3-66d21cd8c902/relationships/uid" } } } } }, { "type": "file--file", "id": "d5301e43-40d9-49ee-849a-6f82901ac311", "links": { "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/file/file/d5301e43-40d9-49ee-849a-6f82901ac311" } }, "attributes": { "drupal_internal__fid": 4, "langcode": "pt-pt", "filename": "placeholder_200x200_2.png", "uri": { "value": "public://2019-08/placeholder_200x200_2.png", "url": "/sites/default/files/2019-08/placeholder_200x200_2.png" }, "filemime": "image/png", "filesize": 781, "status": true, "created": "2019-08-28T14:34:03+00:00", "changed": "2019-08-28T14:34:09+00:00" }, "relationships": { "uid": { "data": null, "links": { "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/file/file/d5301e43-40d9-49ee-849a-6f82901ac311/relationships/uid" } } } } } ], "links": { "self": { "href": "https://repsolmove.dev.server.diamondbybold.com/jsonapi/commerce_product/estacao_de_servico?fields%5Bvariations%5D%5Bfield_image%5D=field_media_image&fields%5Bvariations%5D%5Bfield_media_image%5D=uri%2Curl&filter%5Bcategories_store%5D%5Bcondition%5D%5Boperator%5D=%3D&filter%5Bcategories_store%5D%5Bcondition%5D%5Bpath%5D=field_category.tid&filter%5Bcategories_store%5D%5Bcondition%5D%5Bvalue%5D=91&include=field_brand%2Cfield_category%2Cfield_supplier%2Cvariations%2Cvariations.field_image%2Cvariations.field_image.field_media_image%2Cvariations.field_image.field_media_image" } } }
The text was updated successfully, but these errors were encountered:
Hi @KazimAhmad thanks for the report! Can you please attach the error you get when you try to parse it?
Gut feeling is that you have reference cycle somewhere so you'll have to use includeList to stop parsing after defined number of levels. You can find an example here: https://github.com/infinum/Japx#parsing-with-include-list
includeList
Sorry, something went wrong.
Closing due to inactivity, please reopen if the issue persists.
No branches or pull requests
It is crashing on decoding the following json object:
But is working with other json
The text was updated successfully, but these errors were encountered: