Hello Fred,
is there a reason why the ExtractJSONxyz() commands require the names(!) of the target structure to match the names(!) of the JSON structure?
The help only says that the types of the structure fields must match, not the names.
If you take the example ExtractJSONList() and rename the structure fields x and y to a and b (also in the debug line), the JSON data will no longer be extracted.
https://www.purebasic.com/documentation ... nlist.html
This affects PureBasic and SpiderBasic.
Markus
Question about ExtractJSONxyz() into a struktured taget
Question about ExtractJSONxyz() into a struktured taget
PB 6.12 x64, OS: Win 11 24H2 x64, Desktopscaling: 150%, CPU: I7 12700 H, RAM: 32 GB, GPU: Intel(R) Iris(R) Xe Graphics | NVIDIA GeForce RTX 3070, User age in 2025: 57y
"Happiness is a pet." | "Never run a changing system!"
"Happiness is a pet." | "Never run a changing system!"
Re: Question about ExtractJSONxyz() into a struktured taget
I think the order of the properties in a JSON object should not matter (for example see discussion here), so pb can't rely on that order to map to the structure fields.
Re: Question about ExtractJSONxyz() into a struktured taget
Ah, okay, that really makes sense. 
Thanks, #Null, for clarify this.

Thanks, #Null, for clarify this.
PB 6.12 x64, OS: Win 11 24H2 x64, Desktopscaling: 150%, CPU: I7 12700 H, RAM: 32 GB, GPU: Intel(R) Iris(R) Xe Graphics | NVIDIA GeForce RTX 3070, User age in 2025: 57y
"Happiness is a pet." | "Never run a changing system!"
"Happiness is a pet." | "Never run a changing system!"