MySQL Forums
Forum List  »  German

Json_extract
Posted by: Markus Kollecker
Date: April 12, 2023 12:02PM

Ich benötige hilfe bin schon verzweifelt - ich möchte den Wert aus einem json feld auslesen mit:

JSON_EXTRACT(`order_line_item`.`payload`, '$.neon_unitarticles.dimensions.unitvalue') AS `Produktmengetest`

Bekomme den Wert nicht aus dem Json heraus.

habe im tree in dieser Reihenfolge:

neon_unitarticles als object
dimensions als array
dimensions als object
unitvalue als double

jedes andere Feld im json funktioniert, nur nicht die felder im array
wie kann ich das lösen?

mit
$.neon_unitarticles.dimensions.dimensions.unitvalue

habe ich es auch schon probiert, funktioniert auch nicht

danke für die Hilfe

Options: ReplyQuote


Subject
Views
Written By
Posted
Json_extract
118
April 12, 2023 12:02PM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.