christopher-dG / go-obs-websocket

Go client for obs-websocket
MIT License
85 stars 26 forks source link

JSON nested objects not correctly encoded / parsed #10

Open muesli opened 3 years ago

muesli commented 3 years ago

It looks like nested objects in JSON aren't correctly encoded or parsed:

position.x or position.alignment will always be 0 because that's not the correct JSON key. The key is alignment inside the position struct.