Main project #1

Merged
raul merged 33 commits from testing into main 2024-06-14 07:49:34 +02:00
Owner
No description provided.
raul added 33 commits 2024-06-14 07:49:20 +02:00
e70106932d Use dictionaries for requesting locality weather
This is the first time in my life I've found a practical use for
dictionaries myself
e0a8c745d5 Fix JSON unmarshalling breaking on XML arrays being rendered as objects
Due to a problem in the upstream goxml2json repo, I had to switch to a
fork that allowed me to specify which children should be forcefully
rendered as arrays, as some in some instances the AEMET's XML would
contain completely individual values that are usually arrays, resulting
in the JSON translator interpreting them as objects instead of arrays.

The amount of effort I had to put into fixing this problem was
mind-boggling.
a8cb384800 Add backup of functional goxml2kjson fork
Again, credits to riccardomanfrin for his fork which saved my life, I'm
only including this here incase the fork ever goes missing
(https://github.com/riccardomanfrin/goxml2json).
raul merged commit 2cf128e4ce into main 2024-06-14 07:49:34 +02:00
raul deleted branch testing 2024-06-14 07:49:34 +02:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: raul/aemet#1
No description provided.