Ciao a tutti,
sono nuovo del forum e di solito programmo in altri linguaggi.
Mi trovo costretto per esigenze ad usare php e sto riscontrando difficoltà ad estrarre dati specifici (parsing) da un file json di cui ne incollo una parte:
{
"cluster": "5ff406dc-3dad-4c88-bdc4-6fa868e1c840",
"description": "FLOW Ingest Queue",
"items": [
{
"attempts": 0,
"channels": [
{
"channel_id": 78,
"channel_name": "17",
"server_uuid": "af353ce0-f0e4-4e61-a50d-adc25eb0913e",
"sources": [
{
"outputs": [
{
"audio_channels": "111100000000000000000000",
"capture_data": false,
"chunk_length_seconds": 600,
"clipname": "TG 20",
"clipname_tokens": [
{
"type": "free_text",
"value": "TG 20"
}
],
"codec": "EWC Avid DNxHD 120 1080i MXF",
"container": "mxf opatom",
"custom": {
"field_15": "",
"field_16": "2021-02-15"
},
"customtypes": {
"field_15": "QString",
"field_16": "QDate"
},
"locations": [
{
"directory": "Avid MediaFiles/MXF/INGEST.1/",
"filename": "",
"media_space_id": "bd82ae47-393b-4725-8cad-de70a188c210",
"media_space_name": "EWCINGEST"
}
]
}
],
"role": "sdi_ingest",
"source_id": "89f2411d-3aee-e1e1-289e-80f0ca9f4d5a",
"source_name": "SDI 1"
}
]
}
],
"created": "2021-02-17T18:55:00Z",
"custom_configuration_id": 1,
"custom_configuration_name": "DAM",
"job_id": "b38757ed-4707-4dd2-817c-8f1f1d4dfe92",
"job_type": "scheduled",
"name": "_JSON_",
"order": 2,
"password": "AAAABnicy8xLTy0uAQAIxwKL",
"requested_end_timecode": "20:40:00:00:25/1",
"requested_start_timecode": "19:55:00:00:25/1",
"schedule": {
"repeat_count": -1,
"repeat_current": 10,
"repeat_interval": "00-00-01T00:00:00",
"start_date": "2021-02-18"
},
"state": "configured",
"user": "ingest"
},
{
}
Potete aiutarmi? Grazie
AD75