Operatoren (und, oder) in JSON -Struktur

Post a reply

Smilies
:) :( :oops: :chelo: :roll: :wink: :muza: :sorry: :angel: :read: *x) :clever:
View more smilies

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Operatoren (und, oder) in JSON -Struktur

by Anonymous » 02 Apr 2025, 05:25

Ich habe diese Art von JSON noch nie gesehen und bin mir nicht sicher, wie diese Struktur mit Code generiert werden kann. Kann jemand erklären, wie diese gültige JSON -Struktur ist und wie wir Protopuffer für diese Art von JSON -Struktur erzeugen können? < /P>

Code: Select all

{
"id": 147,
"display_text": "Entertainment available",
"quality": "better",
"cost": "free or paid",
"exists": "yes",
"type": "streaming",
"updated_at": "2019-01-30T09:13:30Z",
"offerings": [
[
{
"delivery_medium": "in-seat",
"content_type": "livetv",
"selection_type": "live"
},
"and",
{
"delivery_medium": "in-seat",
"content_type": "movies",
"selection_type": "loop"
}
],
"or",
{
"delivery_medium": "streaming",
"content_type": "avod",
"selection_type": "on-demand"
}
]
}

Top